Compute Shaders & Create & Read from AppendStructuredBuffer<>

Can anyone point me to an example of how to setup the link to pass an AppendStructuredBuffer<> to my compute shader & read it back. There only seems to be a couple of threads that ask this question but none with a solution e.g Create & Read from AppendStructuredBuffer<>

Cheers