Метод | Описание | |
---|---|---|
OtpOutputStream ( ) : System |
Initializes a new instance of the OtpOutputStream class with the default initial MemoryStreamsize.
|
|
Write ( byte b ) : void |
Write one byte to the stream.
|
|
Write2BE ( long n ) : void |
Write the low two bytes of a value to the stream in big endian order.
|
|
Write4BE ( long n ) : void |
Write the low four bytes of a value to the stream in big endian order.
|
|
Write8BE ( long n ) : void |
Write the low eight (all) bytes of a value to the stream in big endian order.
|
|
WriteAtom ( string atom ) : void |
Write a string to the stream as an Erlang atom. Assumes ISO-8859-1 encoding. This will throw an exception if the string can't be converted.
|
|
WriteBinary ( byte bin ) : void |
Write an array of bytes to the stream as an Erlang binary.
|
|
WriteBoolean ( bool b ) : void |
Write a bool value to the stream as the Erlang atom 'true' or 'false'.
|
|
WriteDouble ( double d ) : void |
Write a double value to the stream.
|
|
WriteListHead ( int arity ) : void |
Write an Erlang list header to the stream. After calling this method, you must write 'arity' elements to the stream followed by nil, or it will not be possible to decode it later.
|
|
WriteLong ( long l ) : void |
Write a long to the stream.
|
|
WriteNil ( ) : void |
Write an empty Erlang list to the stream.
|
|
WriteStringAsBinary ( string s ) : void |
Write a string as a UTF-8 encoded array of bytes to the stream as an Erlang binary.
|
|
WriteTupleHead ( int arity ) : void |
Write an Erlang tuple header to the stream. After calling this method, you must write 'arity' elements to the stream or it will not be possible to decode it later.
|
public Write2BE ( long n ) : void | ||
n | long | The value to use. |
Результат | void |
public Write4BE ( long n ) : void | ||
n | long | The value to use. |
Результат | void |
public Write8BE ( long n ) : void | ||
n | long | The value to use. |
Результат | void |
public WriteAtom ( string atom ) : void | ||
atom | string | The string to write. |
Результат | void |
public WriteBinary ( byte bin ) : void | ||
bin | byte | The array of bytes to write. |
Результат | void |
public WriteBoolean ( bool b ) : void | ||
b | bool | The boolean value to write. |
Результат | void |
public WriteDouble ( double d ) : void | ||
d | double | The double to use. |
Результат | void |
public WriteListHead ( int arity ) : void | ||
arity | int | The number of elements in the list. |
Результат | void |
public WriteLong ( long l ) : void | ||
l | long | The long to use. |
Результат | void |
public WriteStringAsBinary ( string s ) : void | ||
s | string | The string to write. |
Результат | void |
public WriteTupleHead ( int arity ) : void | ||
arity | int | The number of elements in the tuple. |
Результат | void |