| 限定符和类型 | 字段和说明 |
|---|---|
static DotNetGuid4Codec |
INSTANCE
A shared immutable instance.
|
| 构造器和说明 |
|---|
DotNetGuid4Codec() |
public static final DotNetGuid4Codec INSTANCE
public UUID encode(UUID uuid)
It rearranges the most significant bytes from big-endian to little-endian, and vice-versa.
The .Net Guid stores the most significant bytes as little-endian, while the least significant bytes are stored as big-endian (network order).
encode 在接口中 UuidCodec<UUID>uuid - a UUIDInvalidUuidException - if the argument is invalidpublic UUID decode(UUID uuid)
It rearranges the most significant bytes from big-endian to little-endian, and vice-versa.
The .Net Guid stores the most significant bytes as little-endian, while the least significant bytes are stored as big-endian (network order).
decode 在接口中 UuidCodec<UUID>uuid - a UUIDInvalidUuidException - if the argument is invalidCopyright © 2024. All rights reserved.