Modifier and Type | Method and Description |
---|---|
static long |
OtpInputStream.byte_array_to_long(byte[] b,
boolean unsigned) |
static OtpErlangObject |
OtpErlangObject.decode(OtpInputStream buf)
Read binary data in the Erlang external format, and produce a
corresponding Erlang data type object.
|
OtpErlangObject |
OtpMsg.getMsg()
Deserialize and return a new copy of the message contained in this
OtpMsg.
|
int |
OtpInputStream.peek()
Alias for peek1()
|
int |
OtpInputStream.peek1()
Look ahead one position in the stream without consuming the byte found
there.
|
int |
OtpInputStream.peek1skip_version() |
OtpErlangObject |
OtpInputStream.read_any()
Read an arbitrary Erlang term from the stream.
|
java.lang.String |
OtpInputStream.read_atom()
Read an Erlang atom from the stream.
|
byte[] |
OtpInputStream.read_binary()
Read an Erlang binary from the stream.
|
byte[] |
OtpInputStream.read_bitstr(int[] pad_bits)
Read an Erlang bitstr from the stream.
|
boolean |
OtpInputStream.read_boolean()
Read an Erlang atom from the stream and interpret the value as a boolean.
|
byte |
OtpInputStream.read_byte()
Read one byte from the stream.
|
char |
OtpInputStream.read_char()
Read a character from the stream.
|
OtpErlangObject |
OtpInputStream.read_compressed()
Read a compressed term from the stream
|
double |
OtpInputStream.read_double()
Read an Erlang float from the stream.
|
OtpErlangExternalFun |
OtpInputStream.read_external_fun() |
float |
OtpInputStream.read_float()
Read an Erlang float from the stream.
|
OtpErlangFun |
OtpInputStream.read_fun() |
int |
OtpInputStream.read_int()
Read an integer from the stream.
|
byte[] |
OtpInputStream.read_integer_byte_array()
Read an integer from the stream.
|
int |
OtpInputStream.read_list_head()
Read a list header from the stream.
|
long |
OtpInputStream.read_long()
Read a long from the stream.
|
long |
OtpInputStream.read_long(boolean unsigned) |
int |
OtpInputStream.read_map_head() |
int |
OtpInputStream.read_nil()
Read an empty list from the stream.
|
OtpErlangPid |
OtpInputStream.read_pid()
Read an Erlang PID from the stream.
|
OtpErlangPort |
OtpInputStream.read_port()
Read an Erlang port from the stream.
|
OtpErlangRef |
OtpInputStream.read_ref()
Read an Erlang reference from the stream.
|
short |
OtpInputStream.read_short()
Read a short from the stream.
|
java.lang.String |
OtpInputStream.read_string()
Read a string from the stream.
|
int |
OtpInputStream.read_tuple_head()
Read a tuple header from the stream.
|
int |
OtpInputStream.read_uint()
Read an unsigned integer from the stream.
|
long |
OtpInputStream.read_ulong()
Read an unsigned long from the stream.
|
short |
OtpInputStream.read_ushort()
Read an unsigned short from the stream.
|
int |
OtpInputStream.read1()
Read a one byte integer from the stream.
|
int |
OtpInputStream.read1skip_version() |
int |
OtpInputStream.read2BE()
Read a two byte big endian integer from the stream.
|
int |
OtpInputStream.read2LE()
Read a two byte little endian integer from the stream.
|
int |
OtpInputStream.read4BE()
Read a four byte big endian integer from the stream.
|
int |
OtpInputStream.read4LE()
Read a four byte little endian integer from the stream.
|
long |
OtpInputStream.readBE(int n)
Read a bigendian integer from the stream.
|
long |
OtpInputStream.readLE(int n)
Read a little endian integer from the stream.
|
int |
OtpInputStream.readN(byte[] abuf)
Read an array of bytes from the stream.
|
int |
OtpInputStream.readN(byte[] abuf,
int off,
int len)
Read an array of bytes from the stream.
|
OtpErlangObject |
OtpMbox.receive()
Block until a message arrives for this mailbox.
|
OtpErlangObject |
OtpMbox.receive(long timeout)
Wait for a message to arrive for this mailbox.
|
Constructor and Description |
---|
OtpErlangAtom(OtpInputStream buf)
Create an atom from a stream containing an atom encoded in Erlang
external format.
|
OtpErlangBinary(OtpInputStream buf)
Create a binary from a stream containing a binary encoded in Erlang
external format.
|
OtpErlangBitstr(OtpInputStream buf)
Create a bitstr from a stream containing a bitstr encoded in Erlang
external format.
|
OtpErlangBoolean(OtpInputStream buf)
Create a boolean from a stream containing an atom encoded in Erlang
external format.
|
OtpErlangByte(OtpInputStream buf)
Create an Erlang integer from a stream containing an integer encoded in
Erlang external format.
|
OtpErlangChar(OtpInputStream buf)
Create an Erlang integer from a stream containing an integer encoded in
Erlang external format.
|
OtpErlangDouble(OtpInputStream buf)
Create an Erlang float from a stream containing a double encoded in
Erlang external format.
|
OtpErlangExternalFun(OtpInputStream buf) |
OtpErlangFloat(OtpInputStream buf)
Create an Erlang float from a stream containing a float encoded in Erlang
external format.
|
OtpErlangFun(OtpInputStream buf) |
OtpErlangInt(OtpInputStream buf)
Create an Erlang integer from a stream containing an integer encoded in
Erlang external format.
|
OtpErlangList(OtpInputStream buf)
Create a list from a stream containing an list encoded in Erlang external
format.
|
OtpErlangLong(OtpInputStream buf)
Create an Erlang integer from a stream containing an integer encoded in
Erlang external format.
|
OtpErlangMap(OtpInputStream buf)
Create a map from a stream containing a map encoded in Erlang external
format.
|
OtpErlangPid(OtpInputStream buf)
Create an Erlang PID from a stream containing a PID encoded in Erlang
external format.
|
OtpErlangPort(OtpInputStream buf)
Create an Erlang port from a stream containing a port encoded in Erlang
external format.
|
OtpErlangRef(OtpInputStream buf)
Create an Erlang ref from a stream containing a ref encoded in Erlang
external format.
|
OtpErlangShort(OtpInputStream buf)
Create an Erlang integer from a stream containing an integer encoded in
Erlang external format.
|
OtpErlangString(OtpInputStream buf)
Create an Erlang string from a stream containing a string encoded in
Erlang external format.
|
OtpErlangTuple(OtpInputStream buf)
Create a tuple from a stream containing an tuple encoded in Erlang
external format.
|
OtpErlangUInt(OtpInputStream buf)
Create an Erlang integer from a stream containing an integer encoded in
Erlang external format.
|
OtpErlangUShort(OtpInputStream buf)
Create an Erlang integer from a stream containing an integer encoded in
Erlang external format.
|