[This is preliminary documentation and is subject to change.]
The ErlOutputStream type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | ErlOutputStream |
Create a stream containing the serialized Erlang term.
Optionally include in the beginning Erlang protocol version byte
|
Methods
Name | Description | |
---|---|---|
![]() | ![]() | Begins an asynchronous read operation. (Consider using ReadAsync( Byte , Int32, Int32) instead; see the Remarks section.) (Inherited from ![]() |
![]() | ![]() | Begins an asynchronous write operation. (Consider using WriteAsync( Byte , Int32, Int32) instead; see the Remarks section.) (Inherited from ![]() |
![]() | ![]() | Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. Instead of calling this method, ensure that the stream is properly disposed. (Inherited from ![]() |
![]() | ![]() | Reads the bytes from the current stream and writes them to another stream. (Inherited from ![]() |
![]() | ![]() | Reads the bytes from the current stream and writes them to another stream, using a specified buffer size. (Inherited from ![]() |
![]() | CopyToAsync(Stream) | Asynchronously reads the bytes from the current stream and writes them to another stream. (Inherited from ![]() |
![]() | CopyToAsync(Stream, Int32) | Asynchronously reads the bytes from the current stream and writes them to another stream, using a specified buffer size. (Inherited from ![]() |
![]() | CopyToAsync(Stream, Int32, CancellationToken) | Asynchronously reads the bytes from the current stream and writes them to another stream, using a specified buffer size and cancellation token. (Inherited from ![]() |
![]() | ![]() | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from ![]() |
![]() | ![]() | Obsolete. Allocates a (Inherited from ![]() ![]() |
![]() | ![]() | Releases all resources used by the (Inherited from ![]() ![]() |
![]() | ![]() | Releases the unmanaged resources used by the (Inherited from ![]() ![]() |
![]() ![]() | EncodeSize | |
![]() | ![]() | Waits for the pending asynchronous read to complete. (Consider using ReadAsync( Byte , Int32, Int32) instead; see the Remarks section.) (Inherited from ![]() |
![]() | ![]() | Ends an asynchronous write operation. (Consider using WriteAsync( Byte , Int32, Int32) instead; see the Remarks section.) (Inherited from ![]() |
![]() | ![]() | Determines whether the specified object is equal to the current object. (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | Flush | (Overrides ![]() |
![]() | FlushAsync | Asynchronously clears all buffers for this stream and causes any buffered data to be written to the underlying device. (Inherited from ![]() |
![]() | FlushAsync(CancellationToken) | Asynchronously clears all buffers for this stream, causes any buffered data to be written to the underlying device, and monitors cancellation requests. (Inherited from ![]() |
![]() | GetBuffer |
Get internal buffer
|
![]() | ![]() | Serves as the default hash function. (Inherited from ![]() |
![]() | ![]() | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from ![]() |
![]() | InputStream | |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ![]() | Obsolete. Provides support for a Contract. (Inherited from ![]() |
![]() | Poke4BE |
Write the low four bytes of a value to the stream in bif endian
order, at the specified position. If the position specified is
beyond the end of the stream, this method will have no effect
|
![]() | Read | (Overrides ![]() |
![]() | ReadAsync( Byte , Int32, Int32) | Asynchronously reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. (Inherited from ![]() |
![]() | ReadAsync( Byte , Int32, Int32, CancellationToken) | Asynchronously reads a sequence of bytes from the current stream, advances the position within the stream by the number of bytes read, and monitors cancellation requests. (Inherited from ![]() |
![]() | ![]() | Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream. (Inherited from ![]() |
![]() | Reset |
Reset the stream so that it can be reused
|
![]() | Seek | (Overrides ![]() |
![]() | SetLength | (Overrides ![]() |
![]() | ToBinary | |
![]() | ToBinaryString |
Convert stream content to printable binary string (i.e. <<131,10,...>>)
|
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
![]() | Write(Byte) |
Write one byte to the stream
|
![]() | Write( Byte ) |
Write an array of bytes to the stream
|
![]() | Write(IErlObject) |
Write an arbitrary Erlang term to the stream.
|
![]() | Write( Byte , Int32, Int32) | (Overrides ![]() |
![]() | Write1 |
Write the low byte of a value to the stream
|
![]() | Write2BE |
Write the low two bytes of a value to the stream in big endian order
|
![]() | Write4BE |
Write the low four bytes of a value to the stream in big endian order
|
![]() | WriteAsync( Byte , Int32, Int32) | Asynchronously writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. (Inherited from ![]() |
![]() | WriteAsync( Byte , Int32, Int32, CancellationToken) | Asynchronously writes a sequence of bytes to the current stream, advances the current position within this stream by the number of bytes written, and monitors cancellation requests. (Inherited from ![]() |
![]() | WriteAtom(String, Encoding) |
Write string value as atom to the stream
|
![]() | WriteAtom(ErlAtom, Encoding) |
Write atom to the stream
|
![]() | WriteBinary |
Write an array of bytes to the stream as an Erlang binary
|
![]() | WriteBoolean |
Write a boolean value to the stream as the Erlang atom 'true' or 'false'
|
![]() | ![]() | Writes a byte to the current position in the stream and advances the position within the stream by one byte. (Inherited from ![]() |
![]() | WriteByte(ErlByte) |
Write a single byte to the stream as an Erlang integer
|
![]() | WriteChar |
Write a character to the stream as an Erlang integer
|
![]() | WriteDouble |
Write a double value to the stream
|
![]() | WriteInt |
Write an integer to the stream
|
![]() | WriteList |
Write Erlang list to stream
|
![]() | WriteListHead |
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(Int64) |
Write a long to stream
|
![]() | WriteLong(ErlLong) |
Write an Erlang long to the stream
|
![]() | WriteNil |
Write an empty Erlang list to the stream
|
![]() | WritePid |
Write an Erlang PID to the stream
|
![]() | WritePort |
Write an Erlang port to the stream
|
![]() | WriteRef |
Write a new style (R6 and later) Erlang ref to the stream
|
![]() | WriteString(String, Encoding) |
Write a string to the stream
|
![]() | WriteString(ErlString, Encoding) |
Write a string to the stream
|
![]() | WriteTo |
Write the contents of the stream to an OutputStream
|
![]() | WriteTrace |
Write Erlang tuple to stream
|
![]() | WriteTuple |
Write Erlang tuple to stream
|
![]() | WriteTupleHead |
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.
|
Extension Methods
Properties
Name | Description | |
---|---|---|
![]() | CanRead | (Overrides ![]() |
![]() | CanSeek | (Overrides ![]() |
![]() | ![]() | Gets a value that determines whether the current stream can time out. (Inherited from ![]() |
![]() | CanWrite | (Overrides ![]() |
![]() | Capacity |
Get the current capacity of the stream. As bytes are added the
capacity of the stream is increased automatically, however this
method returns the current size
|
![]() | Length |
Get the number of bytes in the stream
(Overrides ![]() |
![]() | Position |
Get the current position in the stream
(Overrides ![]() |
![]() | ![]() | Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out. (Inherited from ![]() |
![]() | ![]() | Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out. (Inherited from ![]() |
See Also