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.162 -- Release Build+f11797ef017301be20d4b9376f78ac29ba38c21a
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