Exemplo n.º 1
0
 public static Offset <eisenbeton.wire.request.EisenRequest> CreateEisenRequest(FlatBufferBuilder builder,
                                                                                StringOffset uriOffset          = default(StringOffset),
                                                                                StringOffset pathOffset         = default(StringOffset),
                                                                                StringOffset methodOffset       = default(StringOffset),
                                                                                StringOffset content_typeOffset = default(StringOffset),
                                                                                VectorOffset contentOffset      = default(VectorOffset))
 {
     builder.StartTable(5);
     EisenRequest.AddContent(builder, contentOffset);
     EisenRequest.AddContentType(builder, content_typeOffset);
     EisenRequest.AddMethod(builder, methodOffset);
     EisenRequest.AddPath(builder, pathOffset);
     EisenRequest.AddUri(builder, uriOffset);
     return(EisenRequest.EndEisenRequest(builder));
 }
Exemplo n.º 2
0
 public static EisenRequest GetRootAsEisenRequest(ByteBuffer _bb, EisenRequest obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }