Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static BufferBase operator +( BufferBase buffer, int offset )
- {
- // avoid useless clones
- if ( offset == 0 )
- return buffer;
- var buf = (BufferBase)buffer.Clone();
- buf.Ptr += offset;
- return buf;
- }
Add Comment
Please, Sign In to add comment