public class TypesWriter extends Object
Constructor and Description |
---|
TypesWriter() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes() |
void |
getBytes(byte[] dst) |
int |
length() |
void |
writeBoolean(boolean v) |
void |
writeByte(int v) |
void |
writeByte(int v,
int off) |
void |
writeBytes(byte[] buff) |
void |
writeBytes(byte[] buff,
int off,
int len) |
void |
writeMPInt(BigInteger b) |
void |
writeNameList(String[] v) |
void |
writeString(byte[] buff,
int off,
int len) |
void |
writeString(String v) |
void |
writeString(String v,
String charsetName) |
void |
writeUINT32(int val) |
void |
writeUINT32(int val,
int off) |
void |
writeUINT64(long val) |
public int length()
public byte[] getBytes()
public void getBytes(byte[] dst)
public void writeUINT32(int val, int off)
public void writeUINT32(int val)
public void writeUINT64(long val)
public void writeBoolean(boolean v)
public void writeByte(int v, int off)
public void writeByte(int v)
public void writeMPInt(BigInteger b)
public void writeBytes(byte[] buff)
public void writeBytes(byte[] buff, int off, int len)
public void writeString(byte[] buff, int off, int len)
public void writeString(String v)
public void writeString(String v, String charsetName) throws UnsupportedEncodingException
UnsupportedEncodingException
public void writeNameList(String[] v)
Copyright © 2018. All rights reserved.