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

Method marshal_dump

projects/Ruby/proto/test.rb:15453–15458  ·  view source on GitHub ↗

Dump the struct

Source from the content-addressed store, hash-verified

15451
15452 # Dump the struct
15453 def marshal_dump
15454 # Serialize the struct to the FBE stream
15455 writer = StructSetModel.new(FBE::WriteBuffer.new)
15456 writer.serialize(self)
15457 writer.buffer
15458 end
15459
15460 # Load the struct
15461 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