public static string ToString(byte[] data, int start, int length) { HexWriter hw = new HexWriter(data); hw.Start = start; hw.End = start + length; return hw.ToString(); }
public static string ToString(byte[] data, int start, int length) { HexWriter hw = new HexWriter(data); hw.Start = start; hw.End = start + length; return(hw.ToString()); }
public static string ToString(Stream stream, int start, int length) { byte[] data = new byte[length]; stream.Position = start; stream.Read(data, 0, length); HexWriter hw = new HexWriter(data); hw.Start = 0; hw.End = length; hw.Offset = start; return hw.ToString(); }
public static string ToString(Stream stream, int start, int length) { byte[] data = new byte[length]; stream.Position = start; stream.Read(data, 0, length); HexWriter hw = new HexWriter(data); hw.Start = 0; hw.End = length; hw.Offset = start; return(hw.ToString()); }