public class MethodArgumentWriter extends Object
| Constructor and Description |
|---|
MethodArgumentWriter(ValueWriter out)
Constructs a MethodArgumentWriter targeting the given DataOutputStream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
Public API - call this to ensure all accumulated argument
values are correctly written to the output stream.
|
void |
writeBit(boolean b)
Public API - encodes a boolean/bit argument.
|
void |
writeLong(int l)
Public API - encodes an integer argument.
|
void |
writeLonglong(long ll)
Public API - encodes a long integer argument.
|
void |
writeLongstr(LongString str)
Public API - encodes a long string argument from a LongString.
|
void |
writeLongstr(String str)
Public API - encodes a long string argument from a String.
|
void |
writeOctet(byte octet)
Public API - encodes an octet argument from a byte.
|
void |
writeOctet(int octet)
Public API - encodes an octet argument from an int.
|
void |
writeShort(int s)
Public API - encodes a short integer argument.
|
void |
writeShortstr(String str)
Public API - encodes a short string argument.
|
void |
writeTable(Map<String,Object> table)
Public API - encodes a table argument.
|
void |
writeTimestamp(Date timestamp)
Public API - encodes a timestamp argument.
|
public MethodArgumentWriter(ValueWriter out)
public final void writeShortstr(String str) throws IOException
IOExceptionpublic final void writeLongstr(LongString str) throws IOException
IOExceptionpublic final void writeLongstr(String str) throws IOException
IOExceptionpublic final void writeShort(int s)
throws IOException
IOExceptionpublic final void writeLong(int l)
throws IOException
IOExceptionpublic final void writeLonglong(long ll)
throws IOException
IOExceptionpublic final void writeBit(boolean b)
throws IOException
IOExceptionpublic final void writeTable(Map<String,Object> table) throws IOException
IOExceptionpublic final void writeOctet(int octet)
throws IOException
IOExceptionpublic final void writeOctet(byte octet)
throws IOException
IOExceptionpublic final void writeTimestamp(Date timestamp) throws IOException
IOExceptionpublic void flush()
throws IOException
IOExceptionCopyright © 2021 VMware, Inc. or its affiliates.. All rights reserved.