Home
last modified time | relevance | path

Searched refs:LiteralByteString (Results 1 – 1 of 1) sorted by relevance

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DByteString.java89 public static final ByteString EMPTY = new LiteralByteString(Internal.EMPTY_BYTE_ARRAY);
300 return new LiteralByteString(byteArrayCopier.copyFrom(bytes, offset, size)); in copyFrom()
319 return new LiteralByteString(bytes); in wrap()
342 return new LiteralByteString(copy); in copyFrom()
367 return new LiteralByteString(text.getBytes(charsetName)); in copyFrom()
379 return new LiteralByteString(text.getBytes(charset)); in copyFrom()
390 return new LiteralByteString(text.getBytes(Internal.UTF_8)); in copyFromUtf8()
1062 flushedBuffers.add(new LiteralByteString(buffer)); in flushFullBuffer()
1081 flushedBuffers.add(new LiteralByteString(bufferCopy)); in flushLastBuffer()
1086 flushedBuffers.add(new LiteralByteString(buffer)); in flushLastBuffer()
[all …]