CBB_discard function
CBB_discard discards the last |len| bytes written to |cbb|. The process will abort if |cbb| has an unflushed child, or its length is smaller than |len|.
Implementation
@meta.RecordUse()
@ffi.Native<ffi.Void Function(ffi.Pointer<CBB>, ffi.Size)>(
symbol: 'bssl_dart_CBB_discard',
)
external void CBB_discard(
ffi.Pointer<CBB> cbb,
int len,
);