@Override
    public byte[] read(@NotNull ByteBuffer input) throws IOException {
      byte[] hash = new byte[SIGNATURE_LENGTH];
      input.get(hash);
      return hash;
    }
@Override
    public byte[] read(@NotNull ByteBuffer input)