类 NulsOutputStreamBuffer
- java.lang.Object
-
- network.nerve.base.basic.NulsOutputStreamBuffer
-
public class NulsOutputStreamBuffer extends Object
- 作者:
- Eva
-
-
构造器概要
构造器 构造器 说明 NulsOutputStreamBuffer(OutputStream out)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidwrite(byte[] bytes)voidwrite(int val)voidwriteBigInteger(BigInteger val)voidwriteBoolean(boolean val)voidwriteByte(byte b)0~255voidwriteBytesWithLength(byte[] bytes)voidwriteDouble(double val)voidwriteInt64(long val)voidwriteNulsData(BaseNulsData data)voidwriteShort(short val)voidwriteString(String val)voidwriteUint16(int val)0~65,535voidwriteUint32(long val)0~4,294,967,295voidwriteUint48(long time)voidwriteUint8(short val)voidwriteVarInt(int val)voidwriteVarInt(long val)
-
-
-
构造器详细资料
-
NulsOutputStreamBuffer
public NulsOutputStreamBuffer(OutputStream out)
-
-
方法详细资料
-
writeByte
public void writeByte(byte b) throws IOException0~255- 参数:
b-- 抛出:
IOException
-
write
public void write(byte[] bytes) throws IOException- 抛出:
IOException
-
write
public void write(int val) throws IOException- 抛出:
IOException
-
writeVarInt
public void writeVarInt(int val) throws IOException- 抛出:
IOException
-
writeVarInt
public void writeVarInt(long val) throws IOException- 抛出:
IOException
-
writeBytesWithLength
public void writeBytesWithLength(byte[] bytes) throws IOException- 抛出:
IOException
-
writeBoolean
public void writeBoolean(boolean val) throws IOException- 抛出:
IOException
-
writeShort
public void writeShort(short val) throws IOException- 抛出:
IOException
-
writeUint8
public void writeUint8(short val) throws IOException- 抛出:
IOException
-
writeUint16
public void writeUint16(int val) throws IOException0~65,535- 参数:
val-- 抛出:
IOException
-
writeUint32
public void writeUint32(long val) throws IOException0~4,294,967,295- 参数:
val-- 抛出:
IOException
-
writeUint48
public void writeUint48(long time) throws IOException- 抛出:
IOException
-
writeBigInteger
public void writeBigInteger(BigInteger val) throws IOException
- 抛出:
IOException
-
writeInt64
public void writeInt64(long val) throws IOException- 抛出:
IOException
-
writeDouble
public void writeDouble(double val) throws IOException- 抛出:
IOException
-
writeString
public void writeString(String val)
-
writeNulsData
public void writeNulsData(BaseNulsData data) throws IOException
- 抛出:
IOException
-
-