@Override
  public void init(ByteArrayRef bytes, int start, int length) {
    assert (length > -1);
    data.set(bytes.getData(), start, length);
  }
The serialization of LazyBinaryString is very simple: start A end bytes[] -&gt;
|---------------------------------|

Section A is just an array of bytes which are exactly the Text contained in
this object.
serde/src/java/org/apache/hadoop/hive/serde2/lazybinary/LazyBinaryString.java