class D4::Dictionary

Defined in:

d4/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(low : Int32, high : Int32) #

[View source]
def self.new(values : Array(Int32)) #

[View source]

Instance Method Detail

def bit_width : Int32 #

[View source]
def decode(code : UInt32) : Int32 | Nil #

[View source]
def encode(value : Int32) : UInt32 | Nil #

[View source]
def first_value : Int32 #

[View source]
def high : Int32 #

[View source]
def low : Int32 #

[View source]
def type : DictType #

[View source]
def values : Array(Int32) | Nil #

[View source]