Gemstone Common Library
Show/Hide TOC

# ByteEncodingGetBytes(String, Char) Method

Decodes given string back into a byte buffer.

## Definition

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

    public abstract byte[] GetBytes(
    	string value,
    	char spacingCharacter
    )

VB
View Source Request Example

    Public MustOverride Function GetBytes (
    	value As String,
    	spacingCharacter As Char
    ) As Byte()

C++
View Source Request Example

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

JavaScript
View Source Request Example

    function GetBytes(value, spacingCharacter);

#### Parameters

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

#### Return Value

Byte
Decoded bytes

## See Also

#### Reference

ByteEncoding Class
GetBytes Overload
Gemstone Namespace