Class HexWriter
Inheritance
System.Object
HexWriter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FellowOakDicom.Log
Assembly: fo-dicom.core.dll
Syntax
public class HexWriter
Constructors
HexWriter(Byte[])
Declaration
public HexWriter(byte[] data)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | data |
Properties
Data
Bytes to be displayed
Declaration
public byte[] Data { get; }
Property Value
Type | Description |
---|---|
System.Byte[] |
End
Last byte to be displayed
Declaration
public int End { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Offset
Offset to be added to the printed position
Declaration
public int Offset { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Start
First byte to be displayed
Declaration
public int Start { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
ToString(Byte[])
Declaration
public static string ToString(byte[] data)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | data |
Returns
Type | Description |
---|---|
System.String |
ToString(Byte[], Int32, Int32)
Declaration
public static string ToString(byte[] data, int start, int length)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | data | |
System.Int32 | start | |
System.Int32 | length |
Returns
Type | Description |
---|---|
System.String |
ToString(Stream, Int32, Int32)
Declaration
public static string ToString(Stream stream, int start, int length)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | |
System.Int32 | start | |
System.Int32 | length |
Returns
Type | Description |
---|---|
System.String |