public final class ByteFifo extends Object
| Constructor and Description |
|---|
ByteFifo(int size) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int offset,
int length) |
void |
reset() |
int |
size() |
byte[] |
toByteArray() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
public void reset()
public byte[] toByteArray()
public int size()
public int read()
public int read(byte[] b)
throws IOException
IOExceptionpublic int read(byte[] b,
int offset,
int length)
public void write(int b)
public void write(byte[] b)
public void write(byte[] b,
int off,
int len)
public int available()
Copyright © 2018. All rights reserved.