Added getWireEncoding.