Versions in this module Expand all Collapse all v1 v1.0.11 Feb 18, 2022 v1.0.10 Feb 18, 2022 v1.0.9 Feb 18, 2022 v1.0.8 Feb 18, 2022 v1.0.7 Feb 18, 2022 v1.0.6 Feb 18, 2022 Changes in this version + var ErrorFrameTypeNotPresent = errors.New("the frame type you requested is not present in this CommonFrame") + type CommonFrame interface + GetEncapsulatedFrame func() (*EncapsulatedFrame, error) + GetImage func() (image.Image, error) + GetNativeFrame func() (*NativeFrame, error) + IsEncapsulated func() bool + type EncapsulatedFrame struct + Data []byte + func (e *EncapsulatedFrame) GetEncapsulatedFrame() (*EncapsulatedFrame, error) + func (e *EncapsulatedFrame) GetImage() (image.Image, error) + func (e *EncapsulatedFrame) GetNativeFrame() (*NativeFrame, error) + func (e *EncapsulatedFrame) IsEncapsulated() bool + type Frame struct + Encapsulated bool + EncapsulatedData EncapsulatedFrame + NativeData NativeFrame + func (f *Frame) GetEncapsulatedFrame() (*EncapsulatedFrame, error) + func (f *Frame) GetImage() (image.Image, error) + func (f *Frame) GetNativeFrame() (*NativeFrame, error) + func (f *Frame) IsEncapsulated() bool + type NativeFrame struct + BitsPerSample int + Cols int + Data [][]int + Rows int + func (n *NativeFrame) GetEncapsulatedFrame() (*EncapsulatedFrame, error) + func (n *NativeFrame) GetImage() (image.Image, error) + func (n *NativeFrame) GetNativeFrame() (*NativeFrame, error) + func (n *NativeFrame) IsEncapsulated() bool