OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ByteString
(Results
1 - 2
of
2
) sorted by null
/external/protobuf/java/src/main/java/com/google/protobuf/
ByteString.java
47
public final class
ByteString
{
50
private
ByteString
(final byte[] bytes) {
78
// byte[] ->
ByteString
81
* Empty
ByteString
.
83
public static final
ByteString
EMPTY = new
ByteString
(new byte[0]);
86
* Copies the given bytes into a {@code
ByteString
}.
88
public static
ByteString
copyFrom(final byte[] bytes, final int offset,
92
return new
ByteString
(copy);
96
* Copies the given bytes into a {@code
ByteString
}
[
all
...]
/external/protobuf/java/src/test/java/com/google/protobuf/
CodedInputStreamTest.java
364
builder.setOptionalBytes(
ByteString
.copyFrom(blob));
368
// directly from a
ByteString
, so that CodedInputStream uses buffered
383
ByteString
.Output rawOutput =
ByteString
.newOutput();
423
ByteString
data64 = makeRecursiveMessage(64).toByteString();
424
ByteString
data65 = makeRecursiveMessage(65).toByteString();
492
ByteString
.Output rawOutput =
ByteString
.newOutput();
Completed in 38 milliseconds