Gemstone Common Library
Show/Hide TOC

# ByteEncodingBase64EncodingGetBytes(String, Char) Method

Decodes given string back into a byte buffer.

## Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.172 -- Release Build+241430fabc9f8d815f226ef82f939af6835b2b48
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

ByteEncodingBase64Encoding Class
GetBytes Overload
Gemstone Namespace