class

PG::XLogData

Inherits IO::Memory < IO < Reference < Object

Constructors

new(buffer : Pointer(LibC::Char), length : Int32)
Source

Instance methods

read_char

Reads a single Char from this IO. Returns nil if there is no more data to read.

io = IO::Memory.new "あ"
io.read_char # => 'あ'
io.read_char # => nil
Source
read_int16
Source
read_int32
Source
read_int64
Source
read_slice(len : Int32)
Source
read_string
Source
read_uint64
Source
read_uint8
Source
to_bytes
Source