smile.json
Binary subtypes
End of document
End of string
Type markers, based on BSON (http://bsonspec.org/spec.html).
Helper function convert ByteBuffer to Array[Byte].
Encoding of "undefined"