ArrayExtensionsToHexString Method (OffsetBufferByte, Int32) |
Converts an OffsetBuffer to a hex string.
Namespace: StreamCoders.HelpersAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax public static string ToHexString(
this OffsetBuffer<byte> buffer,
int byteCount
)
<ExtensionAttribute>
Public Shared Function ToHexString (
buffer As OffsetBuffer(Of Byte),
byteCount As Integer
) As String
public:
[ExtensionAttribute]
static String^ ToHexString(
OffsetBuffer<unsigned char>^ buffer,
int byteCount
)
[<ExtensionAttribute>]
static member ToHexString :
buffer : OffsetBuffer<byte> *
byteCount : int -> string
Parameters
- buffer
- Type: StreamCodersOffsetBufferByte
The byte array to convert. - byteCount
- Type: SystemInt32
The number of bytes to use in the conversion
Return Value
Type:
StringA concatenation of hex values in a string.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
OffsetBufferByte. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also