public interface WireParser extends Consumer<WireIn>
| Modifier and Type | Field and Description |
|---|---|
static FieldNumberParselet |
SKIP_READABLE_BYTES |
| Modifier and Type | Method and Description |
|---|---|
default void |
accept(WireIn wireIn) |
WireParselet |
getDefaultConsumer() |
WireParselet |
lookup(CharSequence name) |
void |
parseOne(WireIn wireIn) |
VanillaWireParser |
register(WireKey key,
WireParselet valueInConsumer) |
default VanillaWireParser |
registerOnce(WireKey key,
WireParselet valueInConsumer) |
static void |
skipReadable(long ignoreMethodId,
WireIn wire) |
static WireParser |
wireParser(WireParselet defaultConsumer) |
static WireParser |
wireParser(WireParselet defaultConsumer,
FieldNumberParselet fieldNumberParselet) |
static final FieldNumberParselet SKIP_READABLE_BYTES
@NotNull static WireParser wireParser(WireParselet defaultConsumer)
@NotNull static WireParser wireParser(@NotNull WireParselet defaultConsumer, @NotNull FieldNumberParselet fieldNumberParselet)
static void skipReadable(long ignoreMethodId,
WireIn wire)
WireParselet getDefaultConsumer()
void parseOne(@NotNull
WireIn wireIn)
default void accept(@NotNull
WireIn wireIn)
WireParselet lookup(CharSequence name)
@NotNull default VanillaWireParser registerOnce(WireKey key, WireParselet valueInConsumer)
@NotNull VanillaWireParser register(WireKey key, WireParselet valueInConsumer)
Copyright © 2018. All rights reserved.