Gemstone Common Library
Show/Hide TOC

# ByteEncodingBinaryEncodingGetBytes(String, Char) Method

Decodes given string back into a byte buffer.

## Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.154 -- Release Build+24a4f4795f9fb8aaeeb777ef1e3e0158effe5bad
C#
View Source Request Example

    public override byte[] GetBytes(
    	string binaryData,
    	char spacingCharacter
    )

VB
View Source Request Example

    Public Overrides Function GetBytes (
    	binaryData As String,
    	spacingCharacter As Char
    ) As Byte()

C++
View Source Request Example

    public:
    virtual array<unsigned char>^ GetBytes(
    	String^ binaryData,
    	wchar_t spacingCharacter
    ) override

JavaScript
View Source Request Example

    function GetBytes(binaryData, spacingCharacter);

#### Parameters

binaryData String
  Encoded binary data string to decode.
spacingCharacter Char
  Original spacing character that was inserted between encoded bytes.

#### Return Value

Byte
Decoded bytes.

## See Also

#### Reference

ByteEncodingBinaryEncoding Class
GetBytes Overload
Gemstone Namespace