Class ByteBuilder
- java.lang.Object
-
- com.moilioncircle.redis.replicator.util.ByteBuilder
-
public class ByteBuilder extends Object
- Since:
- 2.1.0
- Author:
- Leon Chen
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ByteBuilder
allocate(int cap)
byte[]
array()
void
clear()
int
length()
void
put(byte b)
String
toString()
-
-
-
Method Detail
-
allocate
public static ByteBuilder allocate(int cap)
-
put
public void put(byte b)
-
length
public int length()
-
array
public byte[] array()
-
clear
public void clear()
-
-