Skip to content

Commit

Permalink
make slice.t potentially resizable
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Feb 26, 2024
1 parent 971667e commit 907e5ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/slice.ml
@@ -1,7 +1,7 @@
(** Byte slice *)
(** Byte slice or buffer. *)

type t = {
bytes: bytes; (** Bytes *)
mutable bytes: bytes; (** Bytes *)
mutable off: int; (** Offset in bytes *)
mutable len: int; (** Length of the slice. Empty slice has [len=0] *)
}
Expand Down

0 comments on commit 907e5ac

Please sign in to comment.