Skip to documentation
SLOP

tiny.png.DecodeBounds

Reference tiny.png DecodeBounds

Defined in tiny.png.

API (5)

Actions

Public operations.

Fields and members

Public fields and members.

No direct callersNo direct callstiny.pngDecodeBounds
Static calls · unresolved targets: unknown · external targets: unknown.

Source

Source: lib/png/src/decode/plan.zig:5

zig
pub const Bounds = struct {    input_bytes: usize,    image_pixels: usize,    source_row_bytes: usize,    idat_bytes: usize,    pub fn exact(bytes: []const u8) Error!Bounds {        const plan = try Plan.inspect(bytes, .{            .input_bytes = bytes.len,            .image_pixels = std.math.maxInt(usize),            .source_row_bytes = std.math.maxInt(usize),            .idat_bytes = bytes.len,        });        return plan.exactBounds();    }};

Source: lib/png/src/root.zig:25

zig
pub const DecodeBounds = decode.Bounds;
Called byCallstest sourcelib.png.src.decode.plantest: PNG decode planning accepts exa...DecodePlaninspectDecodeBoundsexact
Static calls · unresolved targets: 0 · external targets: 1.

Also reachable as

decode.Bounds.

Audit

Definitions2
Public names4
Members4
Version26.7.0
Revisiondaab053ee433