示例#1
0
 public static IMemoryOwner <T> Slice <T>(this CountdownMemoryOwner <T> that, int offset, int length) =>
 that.AsCountdown(offset, length);
示例#2
0
 public static CountdownMemoryOwner <T> AsCountdown <T>(this CountdownMemoryOwner <T> that, int offset, int length, bool noDefaultOwner = false) =>
 Pool <CountdownMemoryOwner <T> > .Get().Init(that, offset, length, noDefaultOwner);
示例#3
0
 public static IMemoryOwner <T> Slice <T>(this CountdownMemoryOwner <T> that, int offset) =>
 Slice(that, offset, that.Memory.Length - offset);
示例#4
0
 public static CountdownMemoryOwner <T> AsCountdown <T>(this CountdownMemoryOwner <T> that, bool noDefaultOwner = false) =>
 Pool <CountdownMemoryOwner <T> > .Get().Init(that, 0, that.Memory.Length, noDefaultOwner);