public void setBytes(byte[] bytes, int size) {
      if (bytes.length < size) {
        throw new RuntimeException("bytes.length < size");
      }
      myBytes = bytes;
      mySize.setValue(size);
    }
public void setBytes(byte[] bytes, int size)