Java 类com.google.protobuf.AbstractMessageLite.Builder.LimitedInputStream 实例源码

项目:cfapi    文件:AbstractParser.java   
public MessageType parsePartialDelimitedFrom(
    InputStream input,
    ExtensionRegistryLite extensionRegistry)
    throws InvalidProtocolBufferException {
  int size;
  try {
    int firstByte = input.read();
    if (firstByte == -1) {
      return null;
    }
    size = CodedInputStream.readRawVarint32(firstByte, input);
  } catch (IOException e) {
    throw new InvalidProtocolBufferException(e.getMessage());
  }
  InputStream limitedInput = new LimitedInputStream(input, size);
  return parsePartialFrom(limitedInput, extensionRegistry);
}
项目:play-store-api    文件:AbstractParser.java   
@Override
public MessageType parsePartialDelimitedFrom(
    InputStream input, ExtensionRegistryLite extensionRegistry)
    throws InvalidProtocolBufferException {
  int size;
  try {
    int firstByte = input.read();
    if (firstByte == -1) {
      return null;
    }
    size = CodedInputStream.readRawVarint32(firstByte, input);
  } catch (IOException e) {
    throw new InvalidProtocolBufferException(e.getMessage());
  }
  InputStream limitedInput = new LimitedInputStream(input, size);
  return parsePartialFrom(limitedInput, extensionRegistry);
}
项目:bd-codes    文件:AbstractParser.java   
public MessageType parsePartialDelimitedFrom(
    InputStream input,
    ExtensionRegistryLite extensionRegistry)
    throws InvalidProtocolBufferException {
  int size;
  try {
    int firstByte = input.read();
    if (firstByte == -1) {
      return null;
    }
    size = CodedInputStream.readRawVarint32(firstByte, input);
  } catch (IOException e) {
    throw new InvalidProtocolBufferException(e.getMessage());
  }
  InputStream limitedInput = new LimitedInputStream(input, size);
  return parsePartialFrom(limitedInput, extensionRegistry);
}
项目:protoc-gen-as3    文件:AbstractParser.java   
public MessageType parsePartialDelimitedFrom(
    InputStream input,
    ExtensionRegistryLite extensionRegistry)
    throws InvalidProtocolBufferException {
  int size;
  try {
    int firstByte = input.read();
    if (firstByte == -1) {
      return null;
    }
    size = CodedInputStream.readRawVarint32(firstByte, input);
  } catch (IOException e) {
    throw new InvalidProtocolBufferException(e.getMessage());
  }
  InputStream limitedInput = new LimitedInputStream(input, size);
  return parsePartialFrom(limitedInput, extensionRegistry);
}
项目:dotalys-cli    文件:AbstractParser.java   
public MessageType parsePartialDelimitedFrom(
    InputStream input,
    ExtensionRegistryLite extensionRegistry)
    throws InvalidProtocolBufferException {
  int size;
  try {
    int firstByte = input.read();
    if (firstByte == -1) {
      return null;
    }
    size = CodedInputStream.readRawVarint32(firstByte, input);
  } catch (IOException e) {
    throw new InvalidProtocolBufferException(e.getMessage());
  }
  InputStream limitedInput = new LimitedInputStream(input, size);
  return parsePartialFrom(limitedInput, extensionRegistry);
}
项目:protobuffer    文件:AbstractParser.java   
public MessageType parsePartialDelimitedFrom(
    InputStream input,
    ExtensionRegistryLite extensionRegistry)
    throws InvalidProtocolBufferException {
  int size;
  try {
    int firstByte = input.read();
    if (firstByte == -1) {
      return null;
    }
    size = CodedInputStream.readRawVarint32(firstByte, input);
  } catch (IOException e) {
    throw new InvalidProtocolBufferException(e.getMessage());
  }
  InputStream limitedInput = new LimitedInputStream(input, size);
  return parsePartialFrom(limitedInput, extensionRegistry);
}
项目:protobuffer    文件:AbstractParser.java   
public MessageType parsePartialDelimitedFrom(
    InputStream input,
    ExtensionRegistryLite extensionRegistry)
    throws InvalidProtocolBufferException {
  int size;
  try {
    int firstByte = input.read();
    if (firstByte == -1) {
      return null;
    }
    size = CodedInputStream.readRawVarint32(firstByte, input);
  } catch (IOException e) {
    throw new InvalidProtocolBufferException(e.getMessage());
  }
  InputStream limitedInput = new LimitedInputStream(input, size);
  return parsePartialFrom(limitedInput, extensionRegistry);
}
项目:GetThere    文件:AbstractParser.java   
public MessageType parsePartialDelimitedFrom(
    InputStream input,
    ExtensionRegistryLite extensionRegistry)
    throws InvalidProtocolBufferException {
  int size;
  try {
    int firstByte = input.read();
    if (firstByte == -1) {
      return null;
    }
    size = CodedInputStream.readRawVarint32(firstByte, input);
  } catch (IOException e) {
    throw new InvalidProtocolBufferException(e.getMessage());
  }
  InputStream limitedInput = new LimitedInputStream(input, size);
  return parsePartialFrom(limitedInput, extensionRegistry);
}
项目:365browser    文件:AbstractParser.java   
public MessageType parsePartialDelimitedFrom(
    InputStream input,
    ExtensionRegistryLite extensionRegistry)
    throws InvalidProtocolBufferException {
  int size;
  try {
    int firstByte = input.read();
    if (firstByte == -1) {
      return null;
    }
    size = CodedInputStream.readRawVarint32(firstByte, input);
  } catch (IOException e) {
    throw new InvalidProtocolBufferException(e.getMessage());
  }
  InputStream limitedInput = new LimitedInputStream(input, size);
  return parsePartialFrom(limitedInput, extensionRegistry);
}
项目:hpcourse    文件:AbstractParser.java   
public MessageType parsePartialDelimitedFrom(
    InputStream input,
    ExtensionRegistryLite extensionRegistry)
    throws InvalidProtocolBufferException {
  int size;
  try {
    int firstByte = input.read();
    if (firstByte == -1) {
      return null;
    }
    size = CodedInputStream.readRawVarint32(firstByte, input);
  } catch (IOException e) {
    throw new InvalidProtocolBufferException(e.getMessage());
  }
  InputStream limitedInput = new LimitedInputStream(input, size);
  return parsePartialFrom(limitedInput, extensionRegistry);
}
项目:vsminecraft    文件:AbstractParser.java   
public MessageType parsePartialDelimitedFrom(
    InputStream input,
    ExtensionRegistryLite extensionRegistry)
    throws InvalidProtocolBufferException {
  int size;
  try {
    int firstByte = input.read();
    if (firstByte == -1) {
      return null;
    }
    size = CodedInputStream.readRawVarint32(firstByte, input);
  } catch (IOException e) {
    throw new InvalidProtocolBufferException(e.getMessage());
  }
  InputStream limitedInput = new LimitedInputStream(input, size);
  return parsePartialFrom(limitedInput, extensionRegistry);
}
项目:Beam    文件:AbstractParser.java   
public MessageType parsePartialDelimitedFrom (
        InputStream input,
        ExtensionRegistryLite extensionRegistry)
        throws InvalidProtocolBufferException {
    int size;
    try {
        int firstByte = input.read ();
        if (firstByte == -1) {
            return null;
        }
        size = CodedInputStream.readRawVarint32 (firstByte, input);
    } catch (IOException e) {
        throw new InvalidProtocolBufferException (e.getMessage ());
    }
    InputStream limitedInput = new LimitedInputStream (input, size);
    return parsePartialFrom (limitedInput, extensionRegistry);
}
项目:bazel    文件:AbstractParser.java   
@Override
public MessageType parsePartialDelimitedFrom(
    InputStream input, ExtensionRegistryLite extensionRegistry)
    throws InvalidProtocolBufferException {
  int size;
  try {
    int firstByte = input.read();
    if (firstByte == -1) {
      return null;
    }
    size = CodedInputStream.readRawVarint32(firstByte, input);
  } catch (IOException e) {
    throw new InvalidProtocolBufferException(e);
  }
  InputStream limitedInput = new LimitedInputStream(input, size);
  return parsePartialFrom(limitedInput, extensionRegistry);
}
项目:android-chromium    文件:AbstractParser.java   
public MessageType parsePartialDelimitedFrom(
    InputStream input,
    ExtensionRegistryLite extensionRegistry)
    throws InvalidProtocolBufferException {
  int size;
  try {
    int firstByte = input.read();
    if (firstByte == -1) {
      return null;
    }
    size = CodedInputStream.readRawVarint32(firstByte, input);
  } catch (IOException e) {
    throw new InvalidProtocolBufferException(e.getMessage());
  }
  InputStream limitedInput = new LimitedInputStream(input, size);
  return parsePartialFrom(limitedInput, extensionRegistry);
}
项目:cordova-android-chromium    文件:AbstractParser.java   
public MessageType parsePartialDelimitedFrom(
    InputStream input,
    ExtensionRegistryLite extensionRegistry)
    throws InvalidProtocolBufferException {
  int size;
  try {
    int firstByte = input.read();
    if (firstByte == -1) {
      return null;
    }
    size = CodedInputStream.readRawVarint32(firstByte, input);
  } catch (IOException e) {
    throw new InvalidProtocolBufferException(e.getMessage());
  }
  InputStream limitedInput = new LimitedInputStream(input, size);
  return parsePartialFrom(limitedInput, extensionRegistry);
}
项目:sstore-soft    文件:UnknownFieldSet.java   
public boolean mergeDelimitedFrom(InputStream input)
    throws IOException {
  final int firstByte = input.read();
  if (firstByte == -1) {
    return false;
  }
  final int size = CodedInputStream.readRawVarint32(firstByte, input);
  final InputStream limitedInput = new LimitedInputStream(input, size);
  mergeFrom(limitedInput);
  return true;
}
项目:s-store    文件:UnknownFieldSet.java   
public boolean mergeDelimitedFrom(InputStream input)
    throws IOException {
  final int firstByte = input.read();
  if (firstByte == -1) {
    return false;
  }
  final int size = CodedInputStream.readRawVarint32(firstByte, input);
  final InputStream limitedInput = new LimitedInputStream(input, size);
  mergeFrom(limitedInput);
  return true;
}
项目:cfapi    文件:UnknownFieldSet.java   
public boolean mergeDelimitedFrom(InputStream input)
    throws IOException {
  final int firstByte = input.read();
  if (firstByte == -1) {
    return false;
  }
  final int size = CodedInputStream.readRawVarint32(firstByte, input);
  final InputStream limitedInput = new LimitedInputStream(input, size);
  mergeFrom(limitedInput);
  return true;
}
项目:play-store-api    文件:UnknownFieldSet.java   
@Override
public boolean mergeDelimitedFrom(InputStream input) throws IOException {
  final int firstByte = input.read();
  if (firstByte == -1) {
    return false;
  }
  final int size = CodedInputStream.readRawVarint32(firstByte, input);
  final InputStream limitedInput = new LimitedInputStream(input, size);
  mergeFrom(limitedInput);
  return true;
}
项目:bd-codes    文件:UnknownFieldSet.java   
public boolean mergeDelimitedFrom(InputStream input)
    throws IOException {
  final int firstByte = input.read();
  if (firstByte == -1) {
    return false;
  }
  final int size = CodedInputStream.readRawVarint32(firstByte, input);
  final InputStream limitedInput = new LimitedInputStream(input, size);
  mergeFrom(limitedInput);
  return true;
}
项目:protoc-gen-as3    文件:UnknownFieldSet.java   
public boolean mergeDelimitedFrom(InputStream input)
    throws IOException {
  final int firstByte = input.read();
  if (firstByte == -1) {
    return false;
  }
  final int size = CodedInputStream.readRawVarint32(firstByte, input);
  final InputStream limitedInput = new LimitedInputStream(input, size);
  mergeFrom(limitedInput);
  return true;
}
项目:dotalys-cli    文件:UnknownFieldSet.java   
public boolean mergeDelimitedFrom(InputStream input)
    throws IOException {
  final int firstByte = input.read();
  if (firstByte == -1) {
    return false;
  }
  final int size = CodedInputStream.readRawVarint32(firstByte, input);
  final InputStream limitedInput = new LimitedInputStream(input, size);
  mergeFrom(limitedInput);
  return true;
}
项目:TayzGrid    文件:UnknownFieldSet.java   
public boolean mergeDelimitedFrom(InputStream input)
    throws IOException {
  final int firstByte = input.read();
  if (firstByte == -1) {
    return false;
  }
  final int size = CodedInputStream.readRawVarint32(firstByte, input);
  final InputStream limitedInput = new LimitedInputStream(input, size);
  mergeFrom(limitedInput);
  return true;
}
项目:TayzGrid    文件:UnknownFieldSet.java   
public boolean mergeDelimitedFrom(InputStream input)
    throws IOException {
  final int firstByte = input.read();
  if (firstByte == -1) {
    return false;
  }
  final int size = CodedInputStream.readRawVarint32(firstByte, input);
  final InputStream limitedInput = new LimitedInputStream(input, size);
  mergeFrom(limitedInput);
  return true;
}
项目:protobuffer    文件:UnknownFieldSet.java   
public boolean mergeDelimitedFrom(InputStream input)
    throws IOException {
  final int firstByte = input.read();
  if (firstByte == -1) {
    return false;
  }
  final int size = CodedInputStream.readRawVarint32(firstByte, input);
  final InputStream limitedInput = new LimitedInputStream(input, size);
  mergeFrom(limitedInput);
  return true;
}
项目:protobuffer    文件:UnknownFieldSet.java   
public boolean mergeDelimitedFrom(InputStream input)
    throws IOException {
  final int firstByte = input.read();
  if (firstByte == -1) {
    return false;
  }
  final int size = CodedInputStream.readRawVarint32(firstByte, input);
  final InputStream limitedInput = new LimitedInputStream(input, size);
  mergeFrom(limitedInput);
  return true;
}
项目:GetThere    文件:UnknownFieldSet.java   
public boolean mergeDelimitedFrom(InputStream input)
    throws IOException {
  final int firstByte = input.read();
  if (firstByte == -1) {
    return false;
  }
  final int size = CodedInputStream.readRawVarint32(firstByte, input);
  final InputStream limitedInput = new LimitedInputStream(input, size);
  mergeFrom(limitedInput);
  return true;
}
项目:365browser    文件:UnknownFieldSet.java   
public boolean mergeDelimitedFrom(InputStream input)
    throws IOException {
  final int firstByte = input.read();
  if (firstByte == -1) {
    return false;
  }
  final int size = CodedInputStream.readRawVarint32(firstByte, input);
  final InputStream limitedInput = new LimitedInputStream(input, size);
  mergeFrom(limitedInput);
  return true;
}
项目:hpcourse    文件:UnknownFieldSet.java   
public boolean mergeDelimitedFrom(InputStream input)
    throws IOException {
  final int firstByte = input.read();
  if (firstByte == -1) {
    return false;
  }
  final int size = CodedInputStream.readRawVarint32(firstByte, input);
  final InputStream limitedInput = new LimitedInputStream(input, size);
  mergeFrom(limitedInput);
  return true;
}
项目:vsminecraft    文件:UnknownFieldSet.java   
public boolean mergeDelimitedFrom(InputStream input)
    throws IOException {
  final int firstByte = input.read();
  if (firstByte == -1) {
    return false;
  }
  final int size = CodedInputStream.readRawVarint32(firstByte, input);
  final InputStream limitedInput = new LimitedInputStream(input, size);
  mergeFrom(limitedInput);
  return true;
}
项目:nfc-smart-tag    文件:UnknownFieldSet.java   
public boolean mergeDelimitedFrom(InputStream input)
    throws IOException {
  final int firstByte = input.read();
  if (firstByte == -1) {
    return false;
  }
  final int size = CodedInputStream.readRawVarint32(firstByte, input);
  final InputStream limitedInput = new LimitedInputStream(input, size);
  mergeFrom(limitedInput);
  return true;
}
项目:Beam    文件:UnknownFieldSet.java   
public boolean mergeDelimitedFrom (InputStream input)
        throws IOException {
    final int firstByte = input.read ();
    if (firstByte == -1) {
        return false;
    }
    final int size = CodedInputStream.readRawVarint32 (firstByte, input);
    final InputStream limitedInput = new LimitedInputStream (input, size);
    mergeFrom (limitedInput);
    return true;
}
项目:bazel    文件:UnknownFieldSet.java   
@Override
public boolean mergeDelimitedFrom(InputStream input) throws IOException {
  final int firstByte = input.read();
  if (firstByte == -1) {
    return false;
  }
  final int size = CodedInputStream.readRawVarint32(firstByte, input);
  final InputStream limitedInput = new LimitedInputStream(input, size);
  mergeFrom(limitedInput);
  return true;
}
项目:android-chromium    文件:UnknownFieldSet.java   
public boolean mergeDelimitedFrom(InputStream input)
    throws IOException {
  final int firstByte = input.read();
  if (firstByte == -1) {
    return false;
  }
  final int size = CodedInputStream.readRawVarint32(firstByte, input);
  final InputStream limitedInput = new LimitedInputStream(input, size);
  mergeFrom(limitedInput);
  return true;
}
项目:altidroid    文件:UnknownFieldSet.java   
public boolean mergeDelimitedFrom(InputStream input)
    throws IOException {
  final int firstByte = input.read();
  if (firstByte == -1) {
    return false;
  }
  final int size = CodedInputStream.readRawVarint32(firstByte, input);
  final InputStream limitedInput = new LimitedInputStream(input, size);
  mergeFrom(limitedInput);
  return true;
}
项目:cordova-android-chromium    文件:UnknownFieldSet.java   
public boolean mergeDelimitedFrom(InputStream input)
    throws IOException {
  final int firstByte = input.read();
  if (firstByte == -1) {
    return false;
  }
  final int size = CodedInputStream.readRawVarint32(firstByte, input);
  final InputStream limitedInput = new LimitedInputStream(input, size);
  mergeFrom(limitedInput);
  return true;
}