LazyBinaryArray is serialized as follows: start A b b b b b b end bytes[] -> |--------|---|---|---|---| ... |---|---| Section A is the null-bytes. Suppose the list has N elements, then there are (N+7)/8 bytes used as null-bytes. Each bit corresponds to an element and it indicates whether that element is null (0) or not null (1). After A, all b(s) represent the elements of the list. Each of them is again a LazyBinaryObject.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.