VoidBufferImpl.opApply

Buffer element iteration (with index)

  1. int opApply(int delegate(ref const(ubyte)) dg)
  2. int opApply(int delegate(ref size_t, ref const(ubyte)) dg)
    template VoidBufferImpl()
    const
    int
    opApply
    (
    scope int delegate
    (
    ref size_t
    ,
    ref const(ubyte)
    )
    dg
    )

Parameters

dg int delegate
(
ref size_t
,
ref const(ubyte)
)

foreach loop body

Meta