Length is in BigEndian order