Class Utf8Marshaller
java.lang.Object
io.github.xezzon.zeroweb.common.grpc.Utf8Marshaller
- All Implemented Interfaces:
io.grpc.Metadata.BinaryMarshaller<String>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparseBytes(byte[] bytes) 从 UTF-8 字节数组中反序列化字符串。byte[]将字符串序列化为 UTF-8 字节数组。
-
Constructor Details
-
Utf8Marshaller
public Utf8Marshaller()
-
-
Method Details
-
toBytes
-
parseBytes
-