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

Method marshal_dump

projects/Ruby/proto/test.rb:13049–13054  ·  view source on GitHub ↗

Dump the struct

Source from the content-addressed store, hash-verified

13047
13048 # Dump the struct
13049 def marshal_dump
13050 # Serialize the struct to the FBE stream
13051 writer = StructVectorModel.new(FBE::WriteBuffer.new)
13052 writer.serialize(self)
13053 writer.buffer
13054 end
13055
13056 # Load the struct
13057 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