public static Offset <NymaTypes.NDeviceInfo> CreateNDeviceInfo(FlatBufferBuilder builder, StringOffset ShortNameOffset = default(StringOffset), StringOffset FullNameOffset = default(StringOffset), StringOffset DescriptionOffset = default(StringOffset), NymaTypes.DeviceFlags Flags = 0, uint ByteLength = 0, VectorOffset InputsOffset = default(VectorOffset)) { builder.StartTable(6); NDeviceInfo.AddInputs(builder, InputsOffset); NDeviceInfo.AddByteLength(builder, ByteLength); NDeviceInfo.AddDescription(builder, DescriptionOffset); NDeviceInfo.AddFullName(builder, FullNameOffset); NDeviceInfo.AddShortName(builder, ShortNameOffset); NDeviceInfo.AddFlags(builder, Flags); return(NDeviceInfo.EndNDeviceInfo(builder)); }
public static NDeviceInfo GetRootAsNDeviceInfo(ByteBuffer _bb, NDeviceInfo obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }