public static OperationStatus Read(this NetBinaryReader reader, Span <int> destination) {
/// <summary> /// </summary> /// <remarks> /// Allocates array. Try to use <see cref="Span{T}"/> overload. /// </remarks> public static byte[] ReadBytes(this NetBinaryReader reader, int count) { byte[] result = new byte[count]; reader.Read(result); return(result); }