Skip to content

ReadOnlySequenceHelper.Batch(IEnumerable<byte>, int)

Batch(IEnumerable<byte>, int)

staticextension
View source
public static IEnumerable<byte[]> Batch(this IEnumerable<byte> sequence, int batchSize)

Parameters

sequenceIEnumerable<byte>
batchSizeint