On Fri, 9 Sep 2022 15:18:57 -0700 Joanne Koong <joannelkoong@xxxxxxxxx> wrote: > I like the idea, where 'off' is an offset from ptr's offset and 'len' > is the number of bytes to trim. Actually parameters better be 'from' (inclusive) and 'to' (exclusive), similar to slicing in most languages. Specifying a negative 'to' provides the trimming functionality. > Btw, I will be traveling for the next ~6 weeks and won't have access > to a computer, so v2 will be sometime after that. Enjoy