code: func (s *sequence) toByteArray() ([]byte, error) {
  	var bb []byte
  
  	p := s
  	for p != nil {
  		b := make([]byte, 12)
  		binary.BigEndian.PutUint32(b[0:], p.block)
  		binary.BigEndian.PutUint64(b[4:], p.count)
  		bb = append(bb, b...)
  		p = p.next
  	}
  
  	return bb, nil
  }
docs: // ToByteArray converts the sequence into a byte array