public interface PayloadWriter
Modifier and Type | Method and Description |
---|---|
int |
insert(byte[] key,
byte[] value)
Inserts a key and a value into the payload buffer, returns an offset indicating where the key
and value data is stored in payload buffer.
|
int insert(byte[] key, byte[] value) throws IOException
key
- bytes of keyvalue
- bytes of valueIOException
Copyright © 2023. All Rights Reserved.