free static method
Static dispose method for the pointer
ptr
: The pointer to theNetworkPacket
instance to free
Implementation
static void free(Pointer<NetworkPacket> ptr) {
ptr.ref.dispose();
calloc.free(ptr);
}
Static dispose method for the pointer
ptr
: The pointer to the NetworkPacket
instance to freestatic void free(Pointer<NetworkPacket> ptr) {
ptr.ref.dispose();
calloc.free(ptr);
}