struct

Neo4j::PackStream::Packer

Inherits Struct / Value / Object

Constructors

new(io : IO = IO::Memory.new)
Source

Instance methods

bytes
Source
to_s

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.

Source
to_slice
Source
write(value : Nil)
Source
write(value : Bool)
Source
write(value : String)
Source
write(value : Symbol)
Source
write(value : Float32 | Float64)
Source
write(value : Int8 | Int16 | Int32 | Int64)
Source
write(value : Hash)
Source
write(value : Array)
Source
write(time : Time)
Source
write(duration : Duration)
Source
write(point : Point2D)
Source
write(point : Point3D)
Source
write(latlng : LatLng)
Source
write(node : Node)
Source
write(rel : Relationship)
Source
write(path : Path)
Source
write(rel : UnboundRelationship)
Source
write(result : Success)
Source
write(result : Failure)
Source
write(result : Ignored)
Source
write(value : Tuple)
Source
write_array_start(length)
Source
write_byte(byte)
Source
write_hash_start(length)
Source
write_string_start(bytesize)
Source
write_structure_start(length)
Source