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

Method marshal_dump

projects/Ruby/proto/test.rb:10901–10906  ·  view source on GitHub ↗

Dump the struct

Source from the content-addressed store, hash-verified

10899
10900 # Dump the struct
10901 def marshal_dump
10902 # Serialize the struct to the FBE stream
10903 writer = StructBytesModel.new(FBE::WriteBuffer.new)
10904 writer.serialize(self)
10905 writer.buffer
10906 end
10907
10908 # Load the struct
10909 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