enum BSON::Binary::SubType

Overview

BSON binary values have a subtype. This is used to indicate what kind of data is in the byte array. Subtypes from zero to 127 are predefined or reserved. Subtypes from 128-255 are user-defined.

Defined in:

bson/binary.cr

Enum Members

Generic = 0_u8
Function = 1_u8
Binary_Old = 2_u8
UUID_Old = 3_u8
UUID = 4_u8
MD5 = 5_u8
EncryptedBSON = 6_u8
UserDefined = 128_u8

Instance Method Summary

Instance Method Detail

def binary_old? #

[View source]
def encrypted_bson? #

[View source]
def function? #

[View source]
def generic? #

[View source]
def md5? #

[View source]
def user_defined? #

[View source]
def uuid? #

[View source]
def uuid_old? #

[View source]