module Matter::Schema::Bitmap

Overview

Factory methods to create bitmap schemas easily

Defined in:

matter/schema/bitmap_schema.cr

Class Method Summary

Class Method Detail

def self.byte_array_schema(fields : Hash(String, BitFlag | BitField)) : ByteArrayBitmapSchema(Nil) #

[View source]
def self.field(bit : Int32, width : Int32) : BitField #

[View source]
def self.flag(bit : Int32) : BitFlag #

[View source]
def self.schema(fields : Hash(String, BitFlag | BitField)) : BitmapSchema(Nil) #

[View source]