| 构造器和说明 |
|---|
ByteQueue() |
ByteQueue(byte[] b) |
ByteQueue(byte[] b,
int pos,
int length) |
ByteQueue(int initialLength) |
ByteQueue(String hex) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clear() |
Object |
clone() |
String |
dumpQueue() |
int |
indexOf(byte b) |
int |
indexOf(byte[] b) |
int |
indexOf(byte[] b,
int start) |
int |
indexOf(byte b,
int start) |
void |
mark() |
int |
peek(byte[] buf) |
int |
peek(byte[] buf,
int pos,
int length) |
byte |
peek(int index) |
byte[] |
peek(int index,
int length) |
byte[] |
peekAll() |
byte |
pop() |
int |
pop(byte[] buf) |
int |
pop(byte[] buf,
int pos,
int length) |
int |
pop(int length) |
byte[] |
popAll() |
short |
popS2B() |
int |
popS4B() |
String |
popString(int length,
Charset charset) |
int |
popU1B() |
int |
popU2B() |
int |
popU3B() |
long |
popU4B() |
void |
push(byte b) |
void |
push(byte[] b) |
void |
push(byte[] b,
int pos,
int length) |
void |
push(ByteBuffer source) |
void |
push(ByteQueue source) |
void |
push(ByteQueue source,
int len) |
void |
push(int i) |
void |
push(long l) |
void |
push(String hex) |
void |
pushChar(char c) |
void |
pushDouble(double d) |
void |
pushFloat(float f) |
void |
pushInt(int i) |
void |
pushLong(long l) |
void |
pushS4B(int i)
Push signed 4 bytes.
|
void |
pushShort(short s) |
void |
pushU2B(int i)
Push unsigned 2 bytes.
|
void |
pushU3B(int i)
Push unsigned 3 bytes.
|
void |
pushU4B(long l)
Push unsigned 4 bytes.
|
void |
read(InputStream in,
int length) |
void |
reset() |
int |
size() |
byte |
tailPop() |
String |
toString() |
void |
write(OutputStream out) |
void |
write(OutputStream out,
int length) |
public ByteQueue()
public ByteQueue(int initialLength)
public ByteQueue(byte[] b)
public ByteQueue(byte[] b,
int pos,
int length)
public ByteQueue(String hex)
public void push(String hex)
public void push(byte b)
public void push(int i)
public void push(long l)
public void pushU2B(int i)
public void pushU3B(int i)
public void pushS4B(int i)
public void pushU4B(long l)
public void pushChar(char c)
public void pushDouble(double d)
public void pushFloat(float f)
public void pushInt(int i)
public void pushLong(long l)
public void pushShort(short s)
public void read(InputStream in, int length) throws IOException
IOExceptionpublic void push(byte[] b)
public void push(byte[] b,
int pos,
int length)
public void push(ByteQueue source)
public void push(ByteQueue source, int len)
public void push(ByteBuffer source)
public void mark()
public void reset()
public byte pop()
public int popU1B()
public int popU2B()
public int popU3B()
public short popS2B()
public int popS4B()
public long popU4B()
public int pop(byte[] buf)
public int pop(byte[] buf,
int pos,
int length)
public int pop(int length)
public byte[] popAll()
public void write(OutputStream out) throws IOException
IOExceptionpublic void write(OutputStream out, int length) throws IOException
IOExceptionpublic byte tailPop()
public byte peek(int index)
public byte[] peek(int index,
int length)
public byte[] peekAll()
public int peek(byte[] buf)
public int peek(byte[] buf,
int pos,
int length)
public int indexOf(byte b)
public int indexOf(byte b,
int start)
public int indexOf(byte[] b)
public int indexOf(byte[] b,
int start)
public int size()
public void clear()
public String dumpQueue()
Copyright © 2018. All rights reserved.