public final class BarrageMessageWrapper
extends com.google.flatbuffers.Table
| Modifier and Type | Class and Description |
|---|---|
static class |
BarrageMessageWrapper.Vector |
| Constructor and Description |
|---|
BarrageMessageWrapper() |
| Modifier and Type | Method and Description |
|---|---|
BarrageMessageWrapper |
__assign(int _i,
ByteBuffer _bb) |
void |
__init(int _i,
ByteBuffer _bb) |
static void |
addMagic(com.google.flatbuffers.FlatBufferBuilder builder,
long magic) |
static void |
addMsgPayload(com.google.flatbuffers.FlatBufferBuilder builder,
int msgPayloadOffset) |
static void |
addMsgType(com.google.flatbuffers.FlatBufferBuilder builder,
byte msgType) |
static int |
createBarrageMessageWrapper(com.google.flatbuffers.FlatBufferBuilder builder,
long magic,
byte msg_type,
int msg_payloadOffset) |
static int |
createMsgPayloadVector(com.google.flatbuffers.FlatBufferBuilder builder,
byte[] data) |
static int |
createMsgPayloadVector(com.google.flatbuffers.FlatBufferBuilder builder,
ByteBuffer data) |
static int |
endBarrageMessageWrapper(com.google.flatbuffers.FlatBufferBuilder builder) |
static BarrageMessageWrapper |
getRootAsBarrageMessageWrapper(ByteBuffer _bb) |
static BarrageMessageWrapper |
getRootAsBarrageMessageWrapper(ByteBuffer _bb,
BarrageMessageWrapper obj) |
long |
magic()
Used to identify this type of app_metadata vs other applications.
|
byte |
msgPayload(int j)
The msg payload.
|
ByteBuffer |
msgPayloadAsByteBuffer() |
ByteBuffer |
msgPayloadInByteBuffer(ByteBuffer _bb) |
int |
msgPayloadLength() |
com.google.flatbuffers.ByteVector |
msgPayloadVector() |
com.google.flatbuffers.ByteVector |
msgPayloadVector(com.google.flatbuffers.ByteVector obj) |
byte |
msgType()
The msg type being sent.
|
static void |
startBarrageMessageWrapper(com.google.flatbuffers.FlatBufferBuilder builder) |
static void |
startMsgPayloadVector(com.google.flatbuffers.FlatBufferBuilder builder,
int numElems) |
static void |
ValidateVersion() |
__has_identifier, __indirect, __indirect, __offset, __offset, __reset, __reset, __string, __string, __union, __union, __vector_as_bytebuffer, __vector_in_bytebuffer, __vector_len, __vector, compareStrings, compareStrings, getByteBuffer, keysCompare, sortTablespublic static void ValidateVersion()
public static BarrageMessageWrapper getRootAsBarrageMessageWrapper(ByteBuffer _bb)
public static BarrageMessageWrapper getRootAsBarrageMessageWrapper(ByteBuffer _bb, BarrageMessageWrapper obj)
public void __init(int _i,
ByteBuffer _bb)
public BarrageMessageWrapper __assign(int _i, ByteBuffer _bb)
public long magic()
public byte msgType()
public byte msgPayload(int j)
public int msgPayloadLength()
public com.google.flatbuffers.ByteVector msgPayloadVector()
public com.google.flatbuffers.ByteVector msgPayloadVector(com.google.flatbuffers.ByteVector obj)
public ByteBuffer msgPayloadAsByteBuffer()
public ByteBuffer msgPayloadInByteBuffer(ByteBuffer _bb)
public static int createBarrageMessageWrapper(com.google.flatbuffers.FlatBufferBuilder builder,
long magic,
byte msg_type,
int msg_payloadOffset)
public static void startBarrageMessageWrapper(com.google.flatbuffers.FlatBufferBuilder builder)
public static void addMagic(com.google.flatbuffers.FlatBufferBuilder builder,
long magic)
public static void addMsgType(com.google.flatbuffers.FlatBufferBuilder builder,
byte msgType)
public static void addMsgPayload(com.google.flatbuffers.FlatBufferBuilder builder,
int msgPayloadOffset)
public static int createMsgPayloadVector(com.google.flatbuffers.FlatBufferBuilder builder,
byte[] data)
public static int createMsgPayloadVector(com.google.flatbuffers.FlatBufferBuilder builder,
ByteBuffer data)
public static void startMsgPayloadVector(com.google.flatbuffers.FlatBufferBuilder builder,
int numElems)
public static int endBarrageMessageWrapper(com.google.flatbuffers.FlatBufferBuilder builder)
Copyright © 2023 The Apache Software Foundation. All rights reserved.