akka.protobuf.Parser.parseFrom()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(7.6k)|赞(0)|评价(0)|浏览(153)

本文整理了Java中akka.protobuf.Parser.parseFrom()方法的一些代码示例,展示了Parser.parseFrom()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Parser.parseFrom()方法的具体详情如下:
包路径:akka.protobuf.Parser
类名称:Parser
方法名:parseFrom

Parser.parseFrom介绍

[英]Parses data as a message of MessageType. This is just a small wrapper around #parseFrom(CodedInputStream).
[中]将数据解析为MessageType消息。这只是#parseFrom(CodedInputStream)的一个小包装。

代码示例

代码示例来源:origin: com.typesafe.akka/akka-stream_2.12

public static akka.stream.StreamRefMessages.ActorRef parseFrom(
  byte[] data,
  akka.protobuf.ExtensionRegistryLite extensionRegistry)
  throws akka.protobuf.InvalidProtocolBufferException {
 return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.stream.StreamRefMessages.ActorRef parseFrom(java.io.InputStream input)

代码示例来源:origin: com.typesafe.akka/akka-stream_2.12

public static akka.stream.StreamRefMessages.OnSubscribeHandshake parseFrom(
  byte[] data,
  akka.protobuf.ExtensionRegistryLite extensionRegistry)
  throws akka.protobuf.InvalidProtocolBufferException {
 return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.stream.StreamRefMessages.OnSubscribeHandshake parseFrom(java.io.InputStream input)

代码示例来源:origin: com.typesafe.akka/akka-stream_2.11

public static akka.stream.StreamRefMessages.SourceRef parseFrom(
  java.io.InputStream input,
  akka.protobuf.ExtensionRegistryLite extensionRegistry)
  throws java.io.IOException {
 return PARSER.parseFrom(input, extensionRegistry);
}
public static akka.stream.StreamRefMessages.SourceRef parseDelimitedFrom(java.io.InputStream input)

代码示例来源:origin: com.typesafe.akka/akka-stream_2.11

public static akka.stream.StreamRefMessages.ActorRef parseFrom(
  byte[] data,
  akka.protobuf.ExtensionRegistryLite extensionRegistry)
  throws akka.protobuf.InvalidProtocolBufferException {
 return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.stream.StreamRefMessages.ActorRef parseFrom(java.io.InputStream input)

代码示例来源:origin: com.typesafe.akka/akka-stream_2.11

public static akka.stream.StreamRefMessages.ActorRef parseFrom(
  akka.protobuf.CodedInputStream input,
  akka.protobuf.ExtensionRegistryLite extensionRegistry)
  throws java.io.IOException {
 return PARSER.parseFrom(input, extensionRegistry);
}

代码示例来源:origin: com.typesafe.akka/akka-stream_2.11

public static akka.stream.StreamRefMessages.CumulativeDemand parseFrom(
  akka.protobuf.ByteString data,
  akka.protobuf.ExtensionRegistryLite extensionRegistry)
  throws akka.protobuf.InvalidProtocolBufferException {
 return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.stream.StreamRefMessages.CumulativeDemand parseFrom(byte[] data)

代码示例来源:origin: com.typesafe.akka/akka-stream_2.11

public static akka.stream.StreamRefMessages.CumulativeDemand parseFrom(
  byte[] data,
  akka.protobuf.ExtensionRegistryLite extensionRegistry)
  throws akka.protobuf.InvalidProtocolBufferException {
 return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.stream.StreamRefMessages.CumulativeDemand parseFrom(java.io.InputStream input)

代码示例来源:origin: com.typesafe.akka/akka-stream_2.11

public static akka.stream.StreamRefMessages.RemoteStreamCompleted parseFrom(
  byte[] data,
  akka.protobuf.ExtensionRegistryLite extensionRegistry)
  throws akka.protobuf.InvalidProtocolBufferException {
 return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.stream.StreamRefMessages.RemoteStreamCompleted parseFrom(java.io.InputStream input)

代码示例来源:origin: com.typesafe.akka/akka-stream

public static akka.stream.StreamRefMessages.ActorRef parseFrom(
  byte[] data,
  akka.protobuf.ExtensionRegistryLite extensionRegistry)
  throws akka.protobuf.InvalidProtocolBufferException {
 return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.stream.StreamRefMessages.ActorRef parseFrom(java.io.InputStream input)

代码示例来源:origin: com.typesafe.akka/akka-stream

public static akka.stream.StreamRefMessages.Payload parseFrom(
  akka.protobuf.ByteString data,
  akka.protobuf.ExtensionRegistryLite extensionRegistry)
  throws akka.protobuf.InvalidProtocolBufferException {
 return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.stream.StreamRefMessages.Payload parseFrom(byte[] data)

代码示例来源:origin: com.typesafe.akka/akka-stream

public static akka.stream.StreamRefMessages.CumulativeDemand parseFrom(
  byte[] data,
  akka.protobuf.ExtensionRegistryLite extensionRegistry)
  throws akka.protobuf.InvalidProtocolBufferException {
 return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.stream.StreamRefMessages.CumulativeDemand parseFrom(java.io.InputStream input)

代码示例来源:origin: com.typesafe.akka/akka-stream_2.12

public static akka.stream.StreamRefMessages.SinkRef parseFrom(
  java.io.InputStream input,
  akka.protobuf.ExtensionRegistryLite extensionRegistry)
  throws java.io.IOException {
 return PARSER.parseFrom(input, extensionRegistry);
}
public static akka.stream.StreamRefMessages.SinkRef parseDelimitedFrom(java.io.InputStream input)

代码示例来源:origin: com.typesafe.akka/akka-stream_2.12

public static akka.stream.StreamRefMessages.RemoteStreamFailure parseFrom(
  akka.protobuf.ByteString data,
  akka.protobuf.ExtensionRegistryLite extensionRegistry)
  throws akka.protobuf.InvalidProtocolBufferException {
 return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.stream.StreamRefMessages.RemoteStreamFailure parseFrom(byte[] data)

代码示例来源:origin: com.typesafe.akka/akka-stream_2.12

public static akka.stream.StreamRefMessages.RemoteStreamFailure parseFrom(
  byte[] data,
  akka.protobuf.ExtensionRegistryLite extensionRegistry)
  throws akka.protobuf.InvalidProtocolBufferException {
 return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.stream.StreamRefMessages.RemoteStreamFailure parseFrom(java.io.InputStream input)

代码示例来源:origin: com.typesafe.akka/akka-stream_2.11

public static akka.stream.StreamRefMessages.SinkRef parseFrom(
  akka.protobuf.CodedInputStream input,
  akka.protobuf.ExtensionRegistryLite extensionRegistry)
  throws java.io.IOException {
 return PARSER.parseFrom(input, extensionRegistry);
}

代码示例来源:origin: com.typesafe.akka/akka-stream_2.11

public static akka.stream.StreamRefMessages.Payload parseFrom(
  akka.protobuf.ByteString data,
  akka.protobuf.ExtensionRegistryLite extensionRegistry)
  throws akka.protobuf.InvalidProtocolBufferException {
 return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.stream.StreamRefMessages.Payload parseFrom(byte[] data)

代码示例来源:origin: com.typesafe.akka/akka-stream_2.11

public static akka.stream.StreamRefMessages.Payload parseFrom(
  java.io.InputStream input,
  akka.protobuf.ExtensionRegistryLite extensionRegistry)
  throws java.io.IOException {
 return PARSER.parseFrom(input, extensionRegistry);
}
public static akka.stream.StreamRefMessages.Payload parseDelimitedFrom(java.io.InputStream input)

代码示例来源:origin: com.typesafe.akka/akka-stream_2.11

public static akka.stream.StreamRefMessages.OnSubscribeHandshake parseFrom(
  java.io.InputStream input,
  akka.protobuf.ExtensionRegistryLite extensionRegistry)
  throws java.io.IOException {
 return PARSER.parseFrom(input, extensionRegistry);
}
public static akka.stream.StreamRefMessages.OnSubscribeHandshake parseDelimitedFrom(java.io.InputStream input)

代码示例来源:origin: com.typesafe.akka/akka-stream_2.11

public static akka.stream.StreamRefMessages.SequencedOnNext parseFrom(
  akka.protobuf.ByteString data,
  akka.protobuf.ExtensionRegistryLite extensionRegistry)
  throws akka.protobuf.InvalidProtocolBufferException {
 return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.stream.StreamRefMessages.SequencedOnNext parseFrom(byte[] data)

代码示例来源:origin: com.typesafe.akka/akka-stream_2.11

public static akka.stream.StreamRefMessages.RemoteStreamFailure parseFrom(
  byte[] data,
  akka.protobuf.ExtensionRegistryLite extensionRegistry)
  throws akka.protobuf.InvalidProtocolBufferException {
 return PARSER.parseFrom(data, extensionRegistry);
}
public static akka.stream.StreamRefMessages.RemoteStreamFailure parseFrom(java.io.InputStream input)

相关文章