Declaraciones públicas de transmux/boxes.zig (transmux).
apps/docs/generated/zig/transmux.jsonPágina generada desde
native/zig/transmux/transmux.zig. No se edita a mano:bun run docs:genla regenera ybun run docs:checkfalla si difiere.
ISOBMFF box writer: a growable buffer with nested boxes whose 32-bit size
is patched when the box is closed. Box sizes are checked (a box can never
silently exceed 4 GiB: TooLarge).
boxes.Errorconst · línea 7
pub const Error = error{ OutOfMemory, TooLarge }Sin ///.
boxes.Writertype · línea 9
pub const Writer = structSin ///.
boxes.Writer.initfn · línea 15
pub fn init(gpa: std.mem.Allocator) WriterSin ///.
boxes.Writer.deinitfn · línea 19
pub fn deinit(self: *Writer) voidSin ///.
boxes.Writer.resetfn · línea 23
pub fn reset(self: *Writer) voidSin ///.
boxes.Writer.bytesfn · línea 28
pub fn bytes(self: *const Writer) []const u8Sin ///.
boxes.Writer.lenfn · línea 32
pub fn len(self: *const Writer) usizeSin ///.
boxes.Writer.beginfn · línea 36
pub fn begin(self: *Writer, kind: *const [4]u8) Error!voidSin ///.
boxes.Writer.beginFullfn · línea 44
pub fn beginFull(self: *Writer, kind: *const [4]u8, version: u8, flags: u24) Error!voidSin ///.
boxes.Writer.endfn · línea 50
pub fn end(self: *Writer) Error!voidSin ///.
boxes.Writer.rawfn · línea 59
pub fn raw(self: *Writer, data: []const u8) Error!voidSin ///.
boxes.Writer.zerosfn · línea 63
pub fn zeros(self: *Writer, n: usize) Error!voidSin ///.
boxes.Writer.u8befn · línea 67
pub fn u8be(self: *Writer, v: u8) Error!voidSin ///.
boxes.Writer.u16befn · línea 71
pub fn u16be(self: *Writer, v: u16) Error!voidSin ///.
boxes.Writer.u24befn · línea 77
pub fn u24be(self: *Writer, v: u24) Error!voidSin ///.
boxes.Writer.u32befn · línea 83
pub fn u32be(self: *Writer, v: u32) Error!voidSin ///.
boxes.Writer.i32befn · línea 89
pub fn i32be(self: *Writer, v: i32) Error!voidSin ///.
boxes.Writer.u64befn · línea 93
pub fn u64be(self: *Writer, v: u64) Error!voidSin ///.
boxes.Writer.patchU32fn · línea 101
pub fn patchU32(self: *Writer, at: usize, v: u32) voidOverwrites 4 bytes at at (a value known only later, e.g. a
trun data_offset).
boxes.Writer.matrixfn · línea 106
pub fn matrix(self: *Writer) Error!voidThe unity transformation matrix of mvhd / tkhd.