Ends an array.
Ends an array. Undefined behavior if called while not in the middle of printing an array.
Prints an item in an array.
Prints an item in an array. Undefined behavior if called while not in the middle of printing an array.
Prints the start of an array.
Prints the start of an array. Items should then be printed with printArrayItem, after which the array should be ended with endArray().
Write the given double, throwing a serialization exception if it is NaN or Infinity.
Write the given float, throwing a serialization exception if it is NaN or Infinity.
Printer used for streaming.