Advertisement
Guest User

Untitled

a guest
Jan 28th, 2015
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. public unsafe class BitConverter
  2. {
  3. public static uint ReadUint(byte[] buffer, int offset)
  4. {
  5. fixed (byte* Buffer = buffer)
  6. {
  7. return *((uint*)(Buffer + offset));
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement