Package-level declarations
Types
Functions
Allocate memory range having the specified size in bytes and provide an instance of Memory view for this range. Please note that depending of the placement type (e.g. scoped or global) this memory instance may require explicit release using free on the same placement. In particular, instances created inside of memScoped block do not require to be released explicitly but once the scope is leaved, all produced instances should be discarded and should be never used after the scope. On the contrary instances created using nativeHeap do require release via nativeHeap.free.
Copies bytes from this memory range from the specified offset and length to the destination.
Copies bytes from this memory range from the specified offset and length to the destination at destinationOffset.
Copies bytes from this memory range from the specified offset and length to the destination at destinationOffset.
Copies bytes from this memory range from the specified offset to the destination buffer.
Copy byte from this buffer moving it's position to the destination at offset.
Copies bytes from this memory range from the specified offset and length to the destination at destinationOffset.
Copies bytes from this memory range from the specified offset and length to the destination at destinationOffset.
Copy content bytes to the memory addressed by the destination pointer with the specified destinationOffset in bytes.
Copy length bytes to the destination at the specified destinationOffset from the memory addressed by this pointer with offset in bytes.
Release resources that the memory instance is holding. This function should be only used for memory instances that are produced by allocMemory function otherwise an undefined behaviour may occur including crash or data corruption.
Copies bytes from this memory range from the specified offset and count to the destination at destinationOffset.
Copies unsigned shorts integers from this memory range from the specified offset and count to the destination at destinationOffset interpreting numbers in the network order (Big Endian).
Copies floating point numbers from this memory range from the specified offset and count to the destination at destinationOffset interpreting numbers in the network order (Big Endian).
Copies floating point numbers from this memory range from the specified offset and count to the destination at destinationOffset interpreting numbers in the network order (Big Endian).
Copies floating point numbers from this memory range from the specified offset and count to the destination at destinationOffset interpreting numbers in the network order (Big Endian).
Copies floating point numbers from this memory range from the specified offset and count to the destination at destinationOffset interpreting numbers in the network order (Big Endian).
Read short signed 64bit floating point number in the network byte order (Big Endian)
Copies floating point numbers from this memory range from the specified offset and count to the destination at destinationOffset interpreting numbers in the network order (Big Endian).
Copies floating point numbers from this memory range from the specified offset and count to the destination at destinationOffset interpreting numbers in the network order (Big Endian).
Copies floating point numbers from this memory range from the specified offset and count to the destination at destinationOffset interpreting numbers in the network order (Big Endian).
Copies floating point numbers from this memory range from the specified offset and count to the destination at destinationOffset interpreting numbers in the network order (Big Endian).
Read short signed 32bit floating point number in the network byte order (Big Endian)
Copies regular integers from this memory range from the specified offset and count to the destination at destinationOffset interpreting numbers in the network order (Big Endian).
Copies regular integers from this memory range from the specified offset and count to the destination at destinationOffset interpreting numbers in the network order (Big Endian).
Copies regular integers from this memory range from the specified offset and count to the destination at destinationOffset interpreting numbers in the network order (Big Endian).
Copies regular integers from this memory range from the specified offset and count to the destination at destinationOffset interpreting numbers in the network order (Big Endian).
Read regular signed 32bit integer in the network byte order (Big Endian)
Copies long integers from this memory range from the specified offset and count to the destination at destinationOffset interpreting numbers in the network order (Big Endian).
Copies regular integers from this memory range from the specified offset and count to the destination at destinationOffset interpreting numbers in the network order (Big Endian).
Copies regular integers from this memory range from the specified offset and count to the destination at destinationOffset interpreting numbers in the network order (Big Endian).
Copies regular integers from this memory range from the specified offset and count to the destination at destinationOffset interpreting numbers in the network order (Big Endian).
Read short signed 64bit integer in the network byte order (Big Endian)
Copies short integers from this memory range from the specified offset and count to the destination at destinationOffset interpreting numbers in the network order (Big Endian).
Copies short integers from this memory range from the specified offset and count to the destination at destinationOffset interpreting numbers in the network order (Big Endian).
Copies short integers from this memory range from the specified offset and count to the destination at destinationOffset interpreting numbers in the network order (Big Endian).
Copies short integers from this memory range from the specified offset and count to the destination at destinationOffset interpreting numbers in the network order (Big Endian).
Read short signed 16bit integer in the network byte order (Big Endian)
Copies unsigned shorts integers from this memory range from the specified offset and count to the destination at destinationOffset interpreting numbers in the network order (Big Endian).
Copies unsigned integers from this memory range from the specified offset and count to the destination at destinationOffset interpreting numbers in the network order (Big Endian).
Read regular unsigned 32bit integer in the network byte order (Big Endian)
Copies unsigned long integers from this memory range from the specified offset and count to the destination at destinationOffset interpreting numbers in the network order (Big Endian).
Read short signed 64bit integer in the network byte order (Big Endian)
Copies unsigned shorts integers from this memory range from the specified offset and count to the destination at destinationOffset interpreting numbers in the network order (Big Endian).
Read short unsigned 16bit integer in the network byte order (Big Endian)
Create Memory view for the specified buffer range starting at offset and the specified bytes length.
Create Memory view for the specified buffer range starting at ByteBuffer.position and ending at ByteBuffer.limit. Changing the original buffer's position/limit will not affect previously created Memory instances.
Reverse number's byte order
Reverse number's byte order
Reverse number's byte order
Reverse number's byte order
Copies unsigned shorts integers from the source array at sourceOffset to this memory at the specified offset.
Copies floating point numbers from the source array at sourceOffset to this memory at the specified offset interpreting numbers in the network order (Big Endian).
Copies floating point numbers from the source array at sourceOffset to this memory at the specified offset interpreting numbers in the network order (Big Endian).
Copies floating point numbers from the source array at sourceOffset to this memory at the specified offset interpreting numbers in the network order (Big Endian).
Copies floating point numbers from the source array at sourceOffset to this memory at the specified offset interpreting numbers in the network order (Big Endian).
Write short signed 64bit floating point number in the network byte order (Big Endian)
Write short signed 64bit floating point number in the network byte order (Big Endian)
Write short signed 64bit floating point number in the network byte order (Big Endian)
Write short signed 64bit floating point number in the network byte order (Big Endian)
Copies floating point numbers from the source array at sourceOffset to this memory at the specified offset interpreting numbers in the network order (Big Endian).
Copies floating point numbers from the source array at sourceOffset to this memory at the specified offset interpreting numbers in the network order (Big Endian).
Copies floating point numbers from the source array at sourceOffset to this memory at the specified offset interpreting numbers in the network order (Big Endian).
Copies floating point numbers from the source array at sourceOffset to this memory at the specified offset interpreting numbers in the network order (Big Endian).
Write short signed 32bit floating point number in the network byte order (Big Endian)
Write short signed 32bit floating point number in the network byte order (Big Endian)
Write short signed 32bit floating point number in the network byte order (Big Endian)
Write short signed 32bit floating point number in the network byte order (Big Endian)
Copies regular integers from the source array at sourceOffset to this memory at the specified offset interpreting numbers in the network order (Big Endian).
Copies regular integers from the source array at sourceOffset to this memory at the specified offset interpreting numbers in the network order (Big Endian).
Copies regular integers from the source array at sourceOffset to this memory at the specified offset interpreting numbers in the network order (Big Endian).
Copies regular integers from the source array at sourceOffset to this memory at the specified offset interpreting numbers in the network order (Big Endian).
Write regular signed 32bit integer in the network byte order (Big Endian)
Write regular signed 32bit integer in the network byte order (Big Endian)
Write regular signed 32bit integer in the network byte order (Big Endian)
Write regular signed 32bit integer in the network byte order (Big Endian)
Copies long integers from the source array at sourceOffset to this memory at the specified offset interpreting numbers in the network order (Big Endian).
Copies regular integers from the source array at sourceOffset to this memory at the specified offset interpreting numbers in the network order (Big Endian).
Copies regular integers from the source array at sourceOffset to this memory at the specified offset interpreting numbers in the network order (Big Endian).
Copies regular integers from the source array at sourceOffset to this memory at the specified offset interpreting numbers in the network order (Big Endian).
Write short signed 64bit integer in the network byte order (Big Endian)
write short signed 64bit integer in the network byte order (Big Endian)
Write short signed 64bit integer in the network byte order (Big Endian)
Write short signed 64bit integer in the network byte order (Big Endian)
Write short signed 64bit integer in the network byte order (Big Endian)
Copies short integers from the source array at sourceOffset to this memory at the specified offset interpreting numbers in the network order (Big Endian).
Copies short integers from the source array at sourceOffset to this memory at the specified offset interpreting numbers in the network order (Big Endian).
Copies short integers from the source array at sourceOffset to this memory at the specified offset interpreting numbers in the network order (Big Endian).
Copies short integers from the source array at sourceOffset to this memory at the specified offset interpreting numbers in the network order (Big Endian).
Write short signed 16bit integer in the network byte order (Big Endian)
Write short signed 16bit integer in the network byte order (Big Endian)
Write short signed 16bit integer in the network byte order (Big Endian)
Write short signed 16bit integer in the network byte order (Big Endian)
Copies unsigned shorts integers from the source array at sourceOffset to this memory at the specified offset.
Copies unsigned integers from the source array at sourceOffset to this memory at the specified offset interpreting numbers in the network order (Big Endian).
Write regular unsigned 32bit integer in the network byte order (Big Endian)
Copies unsigned long integers from the source array at sourceOffset to this memory at the specified offset interpreting numbers in the network order (Big Endian).
Write short signed 64bit integer in the network byte order (Big Endian)
Copies unsigned shorts integers from the source array at sourceOffset to this memory at the specified offset interpreting numbers in the network order (Big Endian).
Write short unsigned 16bit integer in the network byte order (Big Endian)
TODO KTOR-1673: Solve design problems
Execute block of code providing a temporary instance of Memory view of this byte array range starting at the specified offset and having the specified bytes length. By default, if neither offset nor length specified, the whole array is used. An instance of Memory provided into the block should be never captured and used outside of lambda.
Execute block of code providing a temporary instance of Memory view of this byte array range starting at the specified offset and having the specified bytes length. By default, if neither offset nor length specified, the whole array is used. An instance of Memory provided into the block should be never captured and used outside of lambda.
Execute block of code providing a temporary instance of Memory view of this byte array range starting at the specified offset and having the specified bytes length. By default, if neither offset nor length specified, the whole array is used. An instance of Memory provided into the block should be never captured and used outside of lambda.