(sink *common.ZeroCopySink)
| 39 | } |
| 40 | |
| 41 | func (this *RawBlockHeader) Serialization(sink *common.ZeroCopySink) { |
| 42 | sink.WriteUint32(uint32(len(this.BlkHdr))) |
| 43 | |
| 44 | for _, header := range this.BlkHdr { |
| 45 | header.Serialization(sink) |
| 46 | } |
| 47 | } |
| 48 | func (this *RawBlockHeader) Deserialization(source *common.ZeroCopySource) error { |
| 49 | panic("[block_header] unsupport") |
| 50 | } |
nothing calls this directly
no test coverage detected