Beispiel #1
0
 public static Offset <eisenbeton.wire.response.EisenResponse> CreateEisenResponse(FlatBufferBuilder builder,
                                                                                   int status = 0,
                                                                                   VectorOffset headersOffset = default(VectorOffset),
                                                                                   VectorOffset contentOffset = default(VectorOffset))
 {
     builder.StartTable(3);
     EisenResponse.AddContent(builder, contentOffset);
     EisenResponse.AddHeaders(builder, headersOffset);
     EisenResponse.AddStatus(builder, status);
     return(EisenResponse.EndEisenResponse(builder));
 }
Beispiel #2
0
 public static EisenResponse GetRootAsEisenResponse(ByteBuffer _bb, EisenResponse obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }