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.177 -- Release Build+17e3a8c30c12a6a5a57ad4af156d7b83be281c33
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