public static byte[] ReadStream(Stream stream) { int readLength = 0; return(Utilities.ReadStream(stream, ref readLength)); }