public @NotNull ByteArraySequence toByteArraySequence() {
    return myCount == 0 ? ByteArraySequence.EMPTY : new ByteArraySequence(myBuffer, 0, myCount);
  }
public @NotNull ByteArraySequence toByteArraySequence()