@Internal public class BinlogOffsetSerializer extends Object
BinlogOffset.| Modifier and Type | Field and Description |
|---|---|
static BinlogOffsetSerializer |
INSTANCE |
| Constructor and Description |
|---|
BinlogOffsetSerializer() |
| Modifier and Type | Method and Description |
|---|---|
BinlogOffset |
deserialize(byte[] bytes) |
byte[] |
serialize(BinlogOffset binlogOffset) |
public static final BinlogOffsetSerializer INSTANCE
public byte[] serialize(BinlogOffset binlogOffset) throws IOException
IOExceptionpublic BinlogOffset deserialize(byte[] bytes) throws IOException
IOExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.