Package com.google.protobuf

Examples of com.google.protobuf.MessageLite.writeDelimitedTo()


   */
  public static final void seriDelimitedOne(Object o, OutputStream output) {
    if (o instanceof MessageLite) {
      MessageLite gen = (MessageLite)o;
      try {
        gen.writeDelimitedTo(output);
      } catch (IOException e) {
        throw new SeriException("Failed to write data to the output stream.", e);
      }
    } else {
      throw new SeriException("Message is not protobuf type: " + o.getClass());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.