package Ġkotlinx . io . buffer Ċ Ċ internal Ġactual Ġobject ĠPlatform Buffer Allocator Ġ: ĠBuffer Allocator Ġby ĠNative Buffer Allocator () Ċ Ċ internal Ġclass ĠNative Buffer Allocator Ġ: ĠBuffer Allocator Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġallocate ( size : ĠInt ): ĠBuffer Ġ= ĠBuffer ( ByteArray ( size )) ĊĊĠĠĠ Ġoverride Ġfun Ġfree ( instance : ĠBuffer ) Ġ{} Ċ } Ċ