def Write(packer_type, buf, head, n):
    """ Write encodes `n` at buf[head] using `packer_type`. """
    packer_type.pack_into(buf, head, n)
def Write ( packer_type , buf , head , n ) : packer_type . pack_into ( buf , head , n )
Write encodes `n` at buf[head] using `packer_type`.