read/peek and automatically advance index in buffer

ag0aep6g anonymous at example.com
Thu Mar 16 18:58:18 UTC 2023


On Thursday, 16 March 2023 at 18:39:00 UTC, jwatson-CO-edu wrote:
> ```d
> int rtnVal = buffer.peek(int,Endian.bigEndian)(&marker);
> // Error: found `,` when expecting `.` following int
> ```

You just forgot the exclamation mark there.


More information about the Digitalmars-d-learn mailing list