Versions in this module Expand all Collapse all v0 v0.4.0 Jun 27, 2019 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