W3cubDocs

/Crystal 0.31

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 sizeSource

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