public static ushort[] ReadUnsignedShort(byte[] data, Func <byte[], ushort> readSingleFunc)
 {
     if (CheckForNullData(data))
     {
         return(null);
     }
     return(MultiplicityReader.ReadMultipleBinary(data, 2, readSingleFunc));
 }
 public static int[] ReadSignedLong(byte[] data, Func <byte[], int> readSingleFunc)
 {
     if (CheckForNullData(data))
     {
         return(null);
     }
     return(MultiplicityReader.ReadMultipleBinary(data, 4, readSingleFunc));
 }
 public static double[] ReadDoublePrecision(byte[] data, Func <byte[], double> readSingleFunc)
 {
     if (CheckForNullData(data))
     {
         return(null);
     }
     return(MultiplicityReader.ReadMultipleBinary(data, 8, readSingleFunc));
 }
 public static float[] ReadSinglePrecision(byte[] data, Func <byte[], float> readSingleFunc)
 {
     if (CheckForNullData(data))
     {
         return(null);
     }
     return(MultiplicityReader.ReadMultipleBinary <float>(data, 4, readSingleFunc));
 }
 public static Tag[] ReadTag(byte[] data, Func <byte[], Tag> readSingleFunc)
 {
     if (CheckForNullData(data))
     {
         return(null);
     }
     return(MultiplicityReader.ReadMultipleBinary <Tag>(data, 4, readSingleFunc));
 }
예제 #6
0
 public static ulong[] ReadUnsignedVeryLong(byte[] data, Func <byte[], ulong> readSingleFunc)
 {
     if (CheckForNullData(data))
     {
         return(null);
     }
     return(MultiplicityReader.ReadMultipleBinary(data, 8, readSingleFunc));
 }