Output
Its base object for BytesOutput, FileOutput, Socket input (including SSL).
Properties:
bigEndian |
Endianness (word byte order) used when writing numbers. |
Methods:
writeByte(c) |
Write one byte. |
c - byte |
writeBytes(bytes, pos, len) |
Write len bytes from bytes starting by position specified by pos. |
bytes - Bytes object pos - starting position len - size |
flush() |
Flush any buffered data. |
|
close() |
Close the output. |
|
write(bytes) |
Write all bytes stored in bytes. |
bytes - Bytes object |
writeFullBytes(bytes, pos, len) |
Write len bytes from bytes starting by position specified by pos. |
bytes - Bytes object pos - starting position len - size |
writeFloat(x) |
Write x as 32-bit floating point number. |
x - float number |
writeDouble(x) |
Write x as 64-bit double-precision floating point number. |
x - double number |
writeInt8(x) |
Write x as 8-bit signed integer. |
x - int number |
writeInt16(x) |
Write x as 16-bit signed integer. |
x - int number |
writeUInt16(x) |
Write x as 16-bit unsigned integer. |
x - int number |
writeInt24(x) |
Write x as 24-bit signed integer. |
x - int number |
writeUInt24(x) |
Write x as 24-bit unsigned integer. |
x - int number |
writeInt32(x) |
Write x as 32-bit signed integer. |
x - int number |
prepare(nbytes) |
Inform that we are about to write at least nbytes bytes. |
nbytes - number of bytes |
writeInput(input, bufsize) |
Read all available data from input and write it. |
input - BytesInput or FileInput object bufsize - chunks size |
writeString(string) |
Write string string. |
string - text to write |
Created with the Personal Edition of HelpNDoc: Full-featured multi-format Help generator