added typesize method for bytearray views (viewers) (both to Lua and docs (only Russian for now))

This commit is contained in:
RomanDonw 2026-08-04 17:18:58 +10:00
parent b30207917f
commit e0afe5c649
2 changed files with 10 additions and 0 deletions

View file

@ -339,6 +339,9 @@ local function create_FFIview_class(name, typename)
return i, ptr[i - 1]
end
end
end,
typesize = function()
return typesize
end
}
return function (bytes)