thebuzzmedia/universal-binary-json-java — comment on commit d61aaa273b45a5fed3147bb5de82138922e7e387
File: src/main/java/org/ubjson/io/UBJOutputStream.java line 247
By thebuzzmedia:

Corrected in the most recent impl, both array and object are implemented using:

if (elementCount <= 255)
// write compact representation
else
// write expanded representation