Versions in this module Expand all Collapse all v0 v0.0.2 Mar 15, 2023 Changes in this version + const MarkerDefineHuffmanTable + const MarkerDefineQuantizationTable + const MarkerDefineRestartInterval + const MarkerEndOfImage + const MarkerStartOfFrame1 + const MarkerStartOfImage + const MarkerStartOfScan + type DefineHuffmanTable struct + Codes []byte + Symbols []byte + TableClass int + TableNumber int + func (m DefineHuffmanTable) Marshal(buf []byte) []byte + type DefineQuantizationTable struct + Tables []QuantizationTable + func (m *DefineQuantizationTable) Unmarshal(buf []byte) error + func (m DefineQuantizationTable) Marshal(buf []byte) []byte + type DefineRestartInterval struct + Interval uint16 + func (m *DefineRestartInterval) Unmarshal(buf []byte) error + type QuantizationTable struct + Data []byte + ID uint8 + Precision uint8 + type StartOfFrame1 struct + Height int + QuantizationTableCount uint8 + Type uint8 + Width int + func (m *StartOfFrame1) Unmarshal(buf []byte) error + func (m StartOfFrame1) Marshal(buf []byte) []byte + type StartOfImage struct + func (StartOfImage) Marshal(buf []byte) []byte + type StartOfScan struct + func (StartOfScan) Marshal(buf []byte) []byte + func (StartOfScan) Unmarshal(buf []byte) error