function decodeHashes(decoder) {
  let length = decoder.readUint32(),
    hashes = []
  for (let i = 0; i < length; i++) {
    hashes.push(bytesToHexString(decoder.readRawBytes(HASH_SIZE)))
  }
  return hashes
}
Decodes a byte array in the format returned by encodeHashes(), and returns its content as an
array of hex strings.