Package org.ebfhub.fastprotobuf
Class Utf8
java.lang.Object
org.ebfhub.fastprotobuf.Utf8
public final class Utf8 extends Object
This is specifically designed to reduce the production of intermediate objects (garbage), thus significantly reducing pressure on the JVM Garbage Collector.
UTF-8 encoding/decoding is based on https://github.com/google/protobuf/blob/3e944aec9ebdf5043780fba751d604c0a55511f2/ java/core/src/main/java/com/google/protobuf/Utf8.java
Copyright 2008 Google Inc. All rights reserved. https://developers.google.com/protocol-buffers/
- Version:
- $Id: $Id
- Author:
- Lee Rhodes, Roman Leventov
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUtf8.ByteProviderstatic classUtf8.ByteWriterstatic classUtf8.Utf8CodingExceptionThis exception will be thrown for errors encountered during either the encoding of characters to Utf8 bytes, or the decoding of Utf8 bytes to characters. -
Method Summary