func (msg *MsgBlock) Deserialize(r io.Reader) error {
	// At the current time, there is no difference between the wire encoding
	// at protocol version 0 and the stable long-term storage format.  As
	// a result, make use of BtcDecode.
	//
	// Passing an encoding type of WitnessEncoding to BtcEncode for the
	// MessageEncoding parameter indicates that the transactions within the
	// block are expected to be serialized according to the new
	// serialization structure defined in BIP0141.
	return msg.BtcDecode(r, 0, WitnessEncoding)
}
// Deserialize decodes a block from r into the receiver using a format that is
// suitable for long-term storage such as a database while respecting the
// Version field in the block.  This function differs from BtcDecode in that
// BtcDecode decodes from the bitcoin wire protocol as it was sent across the
// network.  The wire encoding can technically differ depending on the protocol
// version and doesn't even really need to match the format of a stored block at
// all.  As of the time this comment was written, the encoded block is the same
// in both instances, but there is a distinct difference and separating the two
// allows the API to be flexible enough to deal with changes.
Deserialize decodes a block from r into the receiver using a format that is
suitable for long-term storage such as a database while respecting the
Version field in the block.  This function differs from BtcDecode in that
BtcDecode decodes from the bitcoin wire protocol as it was sent across the
network.  The wire encoding can technically differ depending on the protocol
version and doesn't even really need to match the format of a stored block at
all.  As of the time this comment was written, the encoded block is the same
in both instances, but there is a distinct difference and separating the two
allows the API to be flexible enough to deal with changes.
// Deserialize decodes a block from r into the receiver using a format that is // suitable for long - term storage such as a database while respecting the // Version field in the block . This function differs from BtcDecode in that // BtcDecode decodes from the bitcoin wire protocol as it was sent across the // network . The wire encoding can technically differ depending on the protocol // version and doesn ' t even really need to match the format of a stored block at // all . As of the time this comment was written the encoded block is the same // in both instances but there is a distinct difference and separating the two // allows the API to be flexible enough to deal with changes .
func (msg *MsgBlock) Deserialize(r io.Reader) error {
	 Passing an encoding type of WitnessEncoding to BtcEncode for the
	 MessageEncoding parameter indicates that the transactions within the
	 block are expected to be serialized according to the new
	 serialization structure defined in BIP0141.
	return msg.BtcDecode(r, 0, WitnessEncoding)
}
func ( msg * MsgBlock ) Deserialize ( r io . Reader ) error { return msg . BtcDecode ( r , 0 , WitnessEncoding ) }
Deserialize decodes a block from r into the receiver using a format that is
suitable for long-term storage such as a database while respecting the
Version field in the block.
Deserialize decodes a block from r into the receiver using a format that is suitable for long - term storage such as a database while respecting the Version field in the block .
// At the current time, there is no difference between the wire encoding // at protocol version 0 and the stable long-term storage format.  As // a result, make use of BtcDecode. // // Passing an encoding type of WitnessEncoding to BtcEncode for the // MessageEncoding parameter indicates that the transactions within the // block are expected to be serialized according to the new // serialization structure defined in BIP0141.