struct Pointer::Appender(T)

Overview

Unsafe wrapper around a Pointer that allows to write values to it while advancing the location and keeping track of how many elements were written.

See also: Pointer#appender.

Defined in:

pointer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(T))Source

Instance Method Detail

def <<(value : T)Source

def pointerSource

def size : Int64Source

© 2012–2021 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/1.2.1/Pointer/Appender.html