Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Constant

DecodeError

Public Constant
std.compress.zstd.Decompress.LiteralsSection.DecodeError
pub const DecodeError = error

Errors

MalformedLiteralsHeader

Invalid header.

MalformedLiteralsSection

Decoding errors.

MalformedAccuracyLog

Compressed literals have invalid accuracy.

MalformedFseTable

Compressed literals have invalid FSE table.

MalformedHuffmanTree

Failed decoding a Huffamn tree.

EndOfStream

Not enough bytes to complete the section.

ReadFailed
MissingStartBit

File

compress/zstd/Decompress.zig:1288
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
    pub const DecodeError = error{
        /// Invalid header.
        MalformedLiteralsHeader,
        /// Decoding errors.
        MalformedLiteralsSection,
        /// Compressed literals have invalid accuracy.
        MalformedAccuracyLog,
        /// Compressed literals have invalid FSE table.
        MalformedFseTable,
        /// Failed decoding a Huffamn tree.
        MalformedHuffmanTree,
        /// Not enough bytes to complete the section.
        EndOfStream,
        ReadFailed,
        MissingStartBit,
    }