Module Buffer.UByte
val set : t -> int -> int -> unitset t off valuewill set thevalueat offsetoffin the buffer.
val get : t -> int -> intget t offwill return the value at offsetoff.
val length : t -> intReturn the number of elements in the buffer.
val sub : t -> int -> int -> tsub t off lenwill create a sub array starting at offsetoffwith lengthlen. This operation does not copy any array values.
val create : int -> tCreates a new buffer. The buffer is initialized with zeros.
val empty : tThe empty buffer. Can be used as a placeholder value. Has size 0.