public class ByteArrayBuilder extends Object
Constructor and Description |
---|
ByteArrayBuilder() |
Modifier and Type | Method and Description |
---|---|
ByteArrayBuilder |
append(byte[] bytes,
int length)
Builds a byte array.
|
byte[] |
toBytes()
Get the current byte array.
|
public ByteArrayBuilder append(byte[] bytes, int length)
bytes
- Array to be appendedlength
- Number of bytes to be attachedpublic byte[] toBytes()
Copyright © 2023. All rights reserved.