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

Method marshal_dump

projects/Ruby/proto/test.rb:1653–1658  ·  view source on GitHub ↗

Dump the struct

Source from the content-addressed store, hash-verified

1651
1652 # Dump the struct
1653 def marshal_dump
1654 # Serialize the struct to the FBE stream
1655 writer = StructSimpleModel.new(FBE::WriteBuffer.new)
1656 writer.serialize(self)
1657 writer.buffer
1658 end
1659
1660 # Load the struct
1661 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