public static Offset <PhotoFingerPrint> CreatePhotoFingerPrint(FlatBufferBuilder builder, StringOffset filePathOffset = default(StringOffset), ulong phash = 0, VectorOffset edgeGrayScaleThumbOffset = default(VectorOffset)) { builder.StartObject(3); PhotoFingerPrint.AddPhash(builder, phash); PhotoFingerPrint.AddEdgeGrayScaleThumb(builder, edgeGrayScaleThumbOffset); PhotoFingerPrint.AddFilePath(builder, filePathOffset); return(PhotoFingerPrint.EndPhotoFingerPrint(builder)); }
public static PhotoFingerPrint GetRootAsPhotoFingerPrint(ByteBuffer _bb, PhotoFingerPrint obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }