class Source::Socket

Defined in:

source/socket.cr

Instance Method Summary

Instance Method Detail

def read_bool : Bool #

Reads byte as Bool


def read_short : UInt16 #

Reads 2 bytes as short


def read_source_os : Source::OS #

Reads byte as Source::OS


def read_source_string : String #

Reads string terminated by 0x00


def read_source_type : Source::ServerType #

Reads byte as Source::ServerType