ServerJS/Encodings: Difference between revisions

Jump to navigation Jump to search
→‎Class: Converter: change to append here, too
(→‎Class: Converter: change to append here, too)
Line 53: Line 53:
: Returns nothing.
: Returns nothing.
; [Method] read([byteArray,] [maximumSize])
; [Method] read([byteArray,] [maximumSize])
: Read maximumSize bytes or as many bytes as available out of the internal buffer. If byteArray is specified, the data is written into that ByteArray.
: Read maximumSize bytes or as many bytes as available out of the internal buffer. If byteArray is specified, the data is ''appended'' to that ByteArray.
: Returns a ByteString if byteArray is not specified, or byteArray itself otherwise.
: Returns a ByteString if byteArray is not specified, or byteArray itself otherwise.
; [Method] close()
; [Method] close()
62

edits

Navigation menu