API Reference > geometry-core > Serialization > BGFBAccessors > BGFBAccessors.LineSegment > getSizePrefixedRootAsLineSegment getSizePrefixedRootAsLineSegment MethodStatic getSizePrefixedRootAsLineSegment(bb: ByteBuffer, obj?: BGFBAccessors.LineSegment): BGFBAccessors.LineSegment Parameter Type Description bb ByteBuffer obj BGFBAccessors.LineSegment Returns - BGFBAccessors.LineSegment LineSegment Defined in serialization/BGFBAccessors.ts Line 1291 Last Updated: 11 June, 2024