Lines Matching defs:CodedInputStream
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)}
356 * CodedInputStream buffers its input.
509 private CodedInputStream(final byte[] buffer, final int off, final int len) {
517 private CodedInputStream(final InputStream input) {
527 * messages from causing stack overflows, {@code CodedInputStream} limits
545 * {@code CodedInputStream} limits how large a message may be.
552 * If you want to read several messages from a single CodedInputStream, you
580 * {@code CodedInputStream} reads from an underlying {@code InputStream} when