test direct non-copying reading FFIBytearray in C++ context

This commit is contained in:
MihailRis 2026-05-21 22:31:27 +03:00
parent d3760d5b7c
commit dc9ae6e99e
4 changed files with 22 additions and 0 deletions

View file

@ -303,6 +303,7 @@ require "core:internal/extensions/string"
local bytearray = require "core:internal/bytearray"
Bytearray = bytearray.FFIBytearray
Bytearray_as_string = bytearray.FFIBytearray_as_string
Bytearray_as_ptr = bytearray.FFIBytearray_as_ptr
U16view = bytearray.FFIU16view
I16view = bytearray.FFII16view
U32view = bytearray.FFIU32view