$ luarocks install bytesviewFunctions that help work with the bytesview protocols.
The bytesview protocols are the following metamethods:
metatable['bytesview:mutable'] = function(self) return lightuserdata_or_bytesview_mutable, maybe_offset, maybe_size end
metatable['bytesview:readonly'] = function(self) return lightuserdata_or_bytesview_readonly, maybe_offset, maybe_size end
This library is not necessary to work in these protocols.
Versions
Dependencies
lua >=5.1