示例#1
0
 /** <inheritdoc /> */
 public override T Apply <TArg, T>(IBinaryStreamProcessor <TArg, T> proc, TArg arg)
 {
     fixed(byte *data0 = _data)
     {
         return(proc.Invoke(data0, arg));
     }
 }
示例#2
0
        public T Apply <TArg, T>(IBinaryStreamProcessor <TArg, T> proc, TArg arg)
        {
            Debug.Assert(proc != null);

            fixed(byte *data0 = _data)
            {
                return(proc.Invoke(data0, arg));
            }
        }
 /// <summary>
 /// Returns a hash code for the specified byte range.
 /// </summary>
 public T Apply <TArg, T>(IBinaryStreamProcessor <TArg, T> proc, TArg arg)
 {
     return(proc.Invoke(_data, arg));
 }
        public T Apply <TArg, T>(IBinaryStreamProcessor <TArg, T> proc, TArg arg)
        {
            Debug.Assert(proc != null);

            return(proc.Invoke(_data, arg));
        }
示例#5
0
 /// <summary>
 /// Returns a hash code for the specified byte range.
 /// </summary>
 public abstract T Apply <TArg, T>(IBinaryStreamProcessor <TArg, T> proc, TArg arg);