// decodeLiteral decodes a single literal from the LZMA stream.
decodeLiteral decodes a single literal from the LZMA stream.
// decodeLiteral decodes a single literal from the LZMA stream .
func (d *decoder) decodeLiteral() (op operation, err error) {
	litState := d.State.litState(d.Dict.byteAt(1), d.Dict.head)
	match := d.Dict.byteAt(int(d.State.rep[0]) + 1)
	s, err := d.State.litCodec.Decode(d.rd, d.State.state, match, litState)
	if err != nil {
		return nil, err
	}
	return lit{s}, nil
}
func ( d * decoder ) decodeLiteral ( ) ( op operation , err error ) { litState := d . State . litState ( d . Dict . byteAt ( 1 ) , d . Dict . head ) match := d . Dict . byteAt ( int ( d . State . rep [ 0 ] ) + 1 ) s , err := d . State . litCodec . Decode ( d . rd , d . State . state , match , litState ) if err != nil { return nil , err } return lit { s } , nil }
decodeLiteral decodes a single literal from the LZMA stream.
decodeLiteral decodes a single literal from the LZMA stream .