コード例 #1
0
        public static float ReadFXR1Single(this BinaryReaderEx br)
        {
            float result = br.ReadSingle();

            br.AssertFXR1Garbage();
            return(result);
        }
コード例 #2
0
        public static int AssertFXR1Varint(this BinaryReaderEx br, params int[] v)
        {
            int result = br.AssertInt32(v);

            br.AssertFXR1Garbage();
            return(result);
        }
コード例 #3
0
        public static int ReadFXR1Varint(this BinaryReaderEx br)
        {
            int result = br.ReadInt32();

            br.AssertFXR1Garbage();
            return(result);
        }
コード例 #4
0
        public static int GetFXR1Varint(this BinaryReaderEx br, long offset)
        {
            int result = -1;

            br.StepIn(offset);
            result = br.ReadInt32();
            br.AssertFXR1Garbage();
            br.StepOut();
            return(result);
        }