public class ByteRingBuffer extends Object
| Constructor and Description |
|---|
ByteRingBuffer(int size) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
getFree() |
int |
getSize() |
int |
getUsed() |
int |
read() |
int |
read(byte[] buf) |
int |
read(byte[] buf,
int pos,
int len) |
void |
resize(int newSize) |
int |
write(byte[] buf) |
int |
write(byte[] buf,
int pos,
int len) |
public void resize(int newSize)
public int getSize()
public int getFree()
public int getUsed()
public void clear()
public int write(byte[] buf,
int pos,
int len)
public int write(byte[] buf)
public int read(byte[] buf,
int pos,
int len)
public int read(byte[] buf)
public int read()
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.