public override void Decode(PidsReader reader)
 {
     lastFrameNumber    = (byte)reader.ReadUInt(3);
     currentFrameNumber = (byte)reader.ReadUInt(3);
     stationNameChunk   = reader.ReadChar7Array(7);
     sequenceNumber     = (byte)reader.ReadUInt(3);
 }
 public override void Decode(PidsReader reader)
 {
     countryCode = reader.ReadChar5Array(2);
     reader.SkipBits(3); //Reserved
     facilityId = reader.ReadUInt(19);
 }
        public bool isLatitude; //If false, this is longitude instead

        public override void Decode(PidsReader reader)
        {
            isLatitude = reader.ReadBitBool();
            pos        = (float)reader.ReadInt(22) / 8192f; //Converts this to a float
            altitude   = (float)reader.ReadUInt(4) * 16;
        }