byte[] Mac(byte[] buffer, int offset) { byte[] b = new byte[6]; Buffer.BlockCopy(buffer, offset, b, 0, 6); return b; }