Beispiel #1
0
 public static Metadata Deserialize(MetadataMsg message)
 {
     return new Metadata()
     {
         ColorFrameWidth = message.ColorFrameWidth,
         ColorFrameHeight = message.ColorFrameHeight,
         DepthFrameWidth = message.DepthFrameWidth,
         DepthFrameHeight = message.DepthFrameHeight,
     };
 }
Beispiel #2
0
 public static Metadata GetRootAsMetadata(ByteBuffer _bb, Metadata obj)
 {
     return (obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }