Load the struct
(data)
| 10907 | |
| 10908 | # Load the struct |
| 10909 | def marshal_load(data) |
| 10910 | # Deserialize the struct from the FBE stream |
| 10911 | reader = StructBytesModel.new(FBE::ReadBuffer.new) |
| 10912 | reader.attach_buffer(data) |
| 10913 | initialize_copy(reader.deserialize[0]) |
| 10914 | end |
| 10915 | |
| 10916 | # Get struct JSON value |
| 10917 | def to_json |
nothing calls this directly
no test coverage detected