메소드 | 설명 | |
---|---|---|
IsLongTag ( byte tag ) : bool |
Can the tag be parsed as a long
|
|
OtpInputStream ( byte buffer ) : System |
Initializes a new instance of the OtpInputStream class from a buffer containing encoded Erlang terms.
|
|
OtpInputStream ( byte buffer, int index, int count ) : System |
Initializes a new instance of the OtpInputStream class from a buffer containing encoded Erlang terms at the given offset and length.
|
|
Peek ( ) : byte |
Look ahead one position in the stream without consuming the byte found there.
|
|
Peek1 ( ) : byte |
Look ahead one position in the stream without consuming the byte found there.
|
|
Peek1SkipVersion ( ) : byte |
Look ahead one position in the stream, skipping the version tag if it's read.
|
|
Read1 ( ) : byte |
Read one byte from the stream.
|
|
Read1SkipVersion ( ) : byte |
Read one byte from the stream, skipping the version tag if it's read.
|
|
Read2BE ( ) : int |
Read a two byte big endian integer from the stream.
|
|
Read4BE ( ) : int |
Read a four byte big endian integer from the stream.
|
|
ReadAtom ( ) : string |
Read an Erlang atom from the stream.
|
|
ReadBE ( int n ) : long |
Read a bigendian integer from the stream.
|
|
ReadBinary ( ) : byte[] |
Read an Erlang binary from the stream.
|
|
ReadBinaryAsString ( ) : string |
Read an Erlang binary from the stream and converts to a UTF-8 string.
|
|
ReadBoolean ( ) : bool |
Read an Erlang atom from the stream and interpret the value as a boolean.
|
|
ReadDouble ( ) : double |
Read an Erlang float from the stream.
|
|
ReadListHead ( ) : int |
Read a list header from the stream.
|
|
ReadLong ( ) : long |
Read an array of bytes
|
|
ReadN ( byte buffer ) : int |
Read an array of bytes from the stream into the buffer. The method reads at most buffer.Length bytes from the input stream.
|
|
ReadN ( byte buffer, int offset, int count ) : int |
Read an array of bytes from the stream. The method reads at most len bytes from the input stream into offset off of the buffer.
|
|
ReadNil ( ) : int | ||
ReadTupleHead ( ) : int |
Read a tuple header from the stream.
|
메소드 | 설명 | |
---|---|---|
OnBadTag ( byte got ) : |
public OtpInputStream ( byte buffer ) : System | ||
buffer | byte | The buffer containing Erlang terms. |
리턴 | System |
public OtpInputStream ( byte buffer, int index, int count ) : System | ||
buffer | byte | The buffer containing Erlang terms. |
index | int | The index into buffer at which the stream begins. |
count | int | The length of the stream in bytes. |
리턴 | System |
public ReadN ( byte buffer ) : int | ||
buffer | byte | The buffer into which to read data. |
리턴 | int |
public ReadN ( byte buffer, int offset, int count ) : int | ||
buffer | byte | The buffer into which to read data. |
offset | int | The offset in the buffer into which to read data. |
count | int | The number of bytes to read. |
리턴 | int |