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

Method marshal_dump

projects/Ruby/proto/test.rb:16448–16453  ·  view source on GitHub ↗

Dump the struct

Source from the content-addressed store, hash-verified

16446
16447 # Dump the struct
16448 def marshal_dump
16449 # Serialize the struct to the FBE stream
16450 writer = StructMapModel.new(FBE::WriteBuffer.new)
16451 writer.serialize(self)
16452 writer.buffer
16453 end
16454
16455 # Load the struct
16456 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