本文整理了Java中akka.protobuf.Parser.parseFrom()
方法的一些代码示例,展示了Parser.parseFrom()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Parser.parseFrom()
方法的具体详情如下:
包路径:akka.protobuf.Parser
类名称: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)
内容来源于网络,如有侵权,请联系作者删除!