Creates a new JSON entity.
Optionalbuffer: ByteStream | ByteBufferOptional ByteBuffer or ByteStream to read from
Gets the current length of the buffer.
The number of bytes in the buffer
Gets the type name of this entity.
The constructor name of this entity
Sets the maximum buffer size before compaction occurs.
The maximum buffer size in bytes
Consumes the entity by reading it if not already consumed.
Asynchronously consumes the entity by reading it if not already consumed.
Feeds input data into the buffer.
One or more strings, numbers, arrays of numbers, or Uint8Arrays to add to the buffer
ProtectedparseParses a JSON null from the buffer.
null
ProtectedskipSkips whitespace characters in the buffer.
Represents a JSON null value.