enum

Crowbar::Encoding::Format

Inherits Enum < Comparable < Value < Object

Supported input and output encoding format identifiers

Constants

Raw = 0
Hex = 1
Escape = 2
Bit = 3
Base64 = 4
Auto = 5

Class methods

parse?(str : String) : Format | Nil
Source

Instance methods

auto?

Returns true if this enum value equals Auto

Source
base64?

Returns true if this enum value equals Base64

Source
bit?

Returns true if this enum value equals Bit

Source
escape?

Returns true if this enum value equals Escape

Source
hex?

Returns true if this enum value equals Hex

Source
raw?

Returns true if this enum value equals Raw

Source