MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / marshal_dump

Method marshal_dump

projects/Ruby/proto/test.rb:11784–11789  ·  view source on GitHub ↗

Dump the struct

Source from the content-addressed store, hash-verified

11782
11783 # Dump the struct
11784 def marshal_dump
11785 # Serialize the struct to the FBE stream
11786 writer = StructArrayModel.new(FBE::WriteBuffer.new)
11787 writer.serialize(self)
11788 writer.buffer
11789 end
11790
11791 # Load the struct
11792 def marshal_load(data)

Callers

nothing calls this directly

Calls 3

newMethod · 0.45
serializeMethod · 0.45
bufferMethod · 0.45

Tested by

no test coverage detected