Constructor

@:has_untypednew()

Variables

read onlylength:Int

The length of the buffer in bytes.

Methods

@:has_untypedinlineadd(src:Bytes):Void

@:has_untypedinlineaddByte(byte:Int):Void

@:has_untypedinlineaddBytes(src:Bytes, pos:Int, len:Int):Void

@:has_untypedinlineaddString(v:String):Void

@:has_untypedgetBytes():Bytes

Returns either a copy or a reference of the current bytes. Once called, the buffer can no longer be used.