func (b *Batch) UnmarshalBinary(buf []byte) error {
	b.ID = buf[:32]
	b.Value = big.NewInt(0).SetBytes(buf[32:64])
	b.Start = binary.BigEndian.Uint64(buf[64:72])
	b.Owner = buf[72:92]
	b.Depth = buf[92]
	return nil
}
// UnmarshalBinary implements BinaryUnmarshaller. It will attempt deserialize
// the given byte slice into the batch.
UnmarshalBinary implements BinaryUnmarshaller. It will attempt deserialize
the given byte slice into the batch.
// UnmarshalBinary implements BinaryUnmarshaller . It will attempt deserialize // the given byte slice into the batch .
func (b *Batch) UnmarshalBinary(buf []byte) error {
	b.ID = buf[:32]
	b.Value = big.NewInt(0).SetBytes(buf[32:64])
	b.Start = binary.BigEndian.Uint64(buf[64:72])
	b.Owner = buf[72:92]
	b.Depth = buf[92]
	return nil
}
func ( b * Batch ) UnmarshalBinary ( buf [ ] byte ) error { b . ID = buf [ : 32 ] b . Value = big . NewInt ( 0 ) . SetBytes ( buf [ 32 : 64 ] ) b . Start = binary . BigEndian . Uint64 ( buf [ 64 : 72 ] ) b . Owner = buf [ 72 : 92 ] b . Depth = buf [ 92 ] return nil }
UnmarshalBinary implements BinaryUnmarshaller.
UnmarshalBinary implements BinaryUnmarshaller .