pub fn read_key<R: Read>(reader: &mut R) -> Result<Key, KeyBinaryError>
Reads a KEY index from a reader.
The stream is consumed from its current position.