struct Neo4j::PackStream::Packer

Defined in:

neo4j/pack_stream/packer.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

to_bolt_params : Neo4j::Value to_bolt_params

Constructor Detail

def self.new(io : IO = IO::Memory.new) #

[View source]

Instance Method Detail

def bytes #

[View source]
def to_s #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]
def to_slice #

[View source]
def write(value : Nil) #

[View source]
def write(value : Bool) #

[View source]
def write(value : String) #

[View source]
def write(value : Symbol) #

[View source]
def write(value : Float32 | Float64) #

[View source]
def write(value : Int8 | Int16 | Int32 | Int64) #

[View source]
def write(value : Hash) #

[View source]
def write(value : Array) #

[View source]
def write(time : Time) #

[View source]
def write(duration : Duration) #

[View source]
def write(point : Point2D) #

[View source]
def write(point : Point3D) #

[View source]
def write(latlng : LatLng) #

[View source]
def write(node : Node) #

[View source]
def write(rel : Relationship) #

[View source]
def write(path : Path) #

[View source]
def write(rel : UnboundRelationship) #

[View source]
def write(result : Success) #

[View source]
def write(result : Failure) #

[View source]
def write(result : Ignored) #

[View source]
def write(value : Tuple) #

[View source]
def write_array_start(length) #

[View source]
def write_byte(byte) #

[View source]
def write_hash_start(length) #

[View source]
def write_string_start(bytesize) #

[View source]
def write_structure_start(length) #

[View source]