public class TdrReadBuf extends Object
| Constructor and Description |
|---|
TdrReadBuf() |
TdrReadBuf(byte[] ptr,
int len) |
TdrReadBuf(TdrWriteBuf writeBuf) |
| Modifier and Type | Method and Description |
|---|---|
void |
disableEndian() |
int |
getLeftSize() |
int |
getTotalSize() |
int |
getUsedSize() |
void |
readCString(byte[] dest,
int count) |
void |
readCString(byte[] dest,
int count,
int pos) |
double |
readDouble() |
double |
readDouble(int pos) |
float |
readFloat() |
float |
readFloat(int pos) |
short |
readInt16() |
short |
readInt16(int pos) |
int |
readInt32() |
int |
readInt32(int pos) |
long |
readInt64() |
long |
readInt64(int pos) |
byte |
readInt8() |
byte |
readInt8(int pos) |
short |
readUInt16() |
short |
readUInt16(int pos) |
int |
readUInt32() |
int |
readUInt32(int pos) |
long |
readUInt64() |
long |
readUInt64(int pos) |
byte |
readUInt8() |
byte |
readUInt8(int pos) |
void |
readWString(short[] dest,
int count) |
void |
readWString(short[] dest,
int count,
int pos) |
void |
reset() |
void |
set(byte[] ptr,
int len) |
String |
toHexStr() |
int |
toHexStr(char[] buffer) |
public TdrReadBuf()
public TdrReadBuf(TdrWriteBuf writeBuf)
public TdrReadBuf(byte[] ptr,
int len)
public void reset()
public void set(byte[] ptr,
int len)
public int getUsedSize()
public int getTotalSize()
public int getLeftSize()
public void disableEndian()
public byte readInt8()
throws TdrException
TdrExceptionpublic byte readUInt8()
throws TdrException
TdrExceptionpublic short readInt16()
throws TdrException
TdrExceptionpublic short readUInt16()
throws TdrException
TdrExceptionpublic int readInt32()
throws TdrException
TdrExceptionpublic int readUInt32()
throws TdrException
TdrExceptionpublic long readInt64()
throws TdrException
TdrExceptionpublic long readUInt64()
throws TdrException
TdrExceptionpublic float readFloat()
throws TdrException
TdrExceptionpublic double readDouble()
throws TdrException
TdrExceptionpublic void readCString(byte[] dest,
int count)
throws TdrException
TdrExceptionpublic void readWString(short[] dest,
int count)
throws TdrException
TdrExceptionpublic byte readInt8(int pos)
throws TdrException
TdrExceptionpublic byte readUInt8(int pos)
throws TdrException
TdrExceptionpublic short readInt16(int pos)
throws TdrException
TdrExceptionpublic short readUInt16(int pos)
throws TdrException
TdrExceptionpublic int readInt32(int pos)
throws TdrException
TdrExceptionpublic int readUInt32(int pos)
throws TdrException
TdrExceptionpublic long readInt64(int pos)
throws TdrException
TdrExceptionpublic long readUInt64(int pos)
throws TdrException
TdrExceptionpublic float readFloat(int pos)
throws TdrException
TdrExceptionpublic double readDouble(int pos)
throws TdrException
TdrExceptionpublic void readCString(byte[] dest,
int count,
int pos)
throws TdrException
TdrExceptionpublic void readWString(short[] dest,
int count,
int pos)
throws TdrException
TdrExceptionpublic int toHexStr(char[] buffer)
throws TdrException
TdrExceptionpublic String toHexStr()
Copyright © 2026. All rights reserved.