public static Offset <HelloPeer> CreateHelloPeer(FlatBufferBuilder builder, VectorOffset peersOffset = default(VectorOffset), bool is_response = false) { builder.StartObject(2); HelloPeer.AddPeers(builder, peersOffset); HelloPeer.AddIsResponse(builder, is_response); return(HelloPeer.EndHelloPeer(builder)); }
public static HelloPeer GetRootAsHelloPeer(ByteBuffer _bb, HelloPeer obj) { return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }