| 限定符和类型 | 字段和说明 |
|---|---|
static BinaryCodec |
INSTANCE
A shared immutable instance.
|
| 构造器和说明 |
|---|
BinaryCodec() |
public static final BinaryCodec INSTANCE
public byte[] encode(UUID uuid)
encode 在接口中 UuidCodec<byte[]>uuid - a UUIDInvalidUuidException - if the argument is invalidpublic UUID decode(byte[] bytes)
decode 在接口中 UuidCodec<byte[]>bytes - an array of bytesInvalidUuidException - if the argument is invalidCopyright © 2024. All rights reserved.