W3cubDocs

/Crystal

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–2020 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.35.1/Pointer/Appender.html