Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HeaderCS6 ¶
type HeaderCS6 struct { Version uint32 BoundingRectangle *shape.Rectangle GroupName string NumSlices uint32 }
func CastBackCS6 ¶
func CastBackCS6(headerInterface HeaderInterface) *HeaderCS6
castBackCS6 and castBackCS7 are done here to prevent cyclic imports in the header packages
func NewCS6Header ¶
func NewCS6Header() *HeaderCS6
func (HeaderCS6) GetHeaderVersion ¶
type HeaderCS7 ¶
type HeaderCS7 struct { Version uint32 DescriptorVersion uint32 Descriptor *descriptor.Descriptor }
HeaderCS7 is for both CS7 and CS8. it is denoted to 7 since that changes from 6, where 7 and 8 are the same
func CastBackCS7 ¶
func CastBackCS7(headerInterface HeaderInterface) *HeaderCS7
func NewCS7Header ¶
func NewCS7Header() *HeaderCS7
func (HeaderCS7) GetHeaderVersion ¶
type HeaderInterface ¶
type HeaderInterface interface {
GetHeaderVersion() uint16
}
func ParseHeader ¶
func ParseHeader(file *os.File, version uint32) *HeaderInterface
Click to show internal directories.
Click to hide internal directories.