HomeSort by relevance Sort by last modified time
    Searched defs:CodedInputStream (Results 1 - 4 of 4) sorted by null

  /external/protobuf/src/google/protobuf/io/
coded_stream.h 35 // This file contains the CodedInputStream and CodedOutputStream classes,
66 // CodedInputStream example:
70 // CodedInputStream coded_input = new CodedInputStream(raw_input);
129 class CodedInputStream;
138 // Most users will not need to deal with CodedInputStream.
140 // Most methods of CodedInputStream that return a bool return false if an
142 // failure occurs, the CodedInputStream is broken and is no longer useful.
143 class LIBPROTOBUF_EXPORT CodedInputStream {
145 // Create a CodedInputStream that reads from the given ZeroCopyInputStream
    [all...]
  /external/protobuf/java/src/main/java/com/google/protobuf/
AbstractMessage.java 242 public BuilderType mergeFrom(final CodedInputStream input)
249 final CodedInputStream input,
271 * Like {@link #mergeFrom(CodedInputStream, UnknownFieldSet.Builder,
279 final CodedInputStream input,
429 final CodedInputStream input,
490 CodedInputStream.newInstance(rawBytes.newInput()));
CodedInputStream.java 50 public final class CodedInputStream {
52 * Create a new CodedInputStream wrapping the given InputStream.
54 public static CodedInputStream newInstance(final InputStream input) {
55 return new CodedInputStream(input);
59 * Create a new CodedInputStream wrapping the given byte array.
61 public static CodedInputStream newInstance(final byte[] buf) {
66 * Create a new CodedInputStream wrapping the given byte array slice.
68 public static CodedInputStream newInstance(final byte[] buf, final int off,
70 return new CodedInputStream(buf, off, len);
354 * stream in a CodedInputStream and used {@link #readRawVarint32(InputStream)
    [all...]
  /external/protobuf/java/src/test/java/com/google/protobuf/
CodedInputStreamTest.java 44 * Unit test for {@link CodedInputStream}.
64 * We use this to make sure that CodedInputStream doesn't screw up when
93 CodedInputStream input = CodedInputStream.newInstance(data);
96 input = CodedInputStream.newInstance(data);
102 input = CodedInputStream.newInstance(
106 input = CodedInputStream.newInstance(
118 assertEquals((int)value, CodedInputStream.readRawVarint32(rawInput));
130 CodedInputStream input = CodedInputStream.newInstance(data)
    [all...]

Completed in 1236 milliseconds