/// <summary>Reads an empty return value from the response frame. If the response frame carries /// a failure, reads and throws this exception.</summary> public void ReadVoidReturnValue() { if (ReplyStatus == ReplyStatus.OK) { InputStream.ReadEmptyEncapsulation(_communicator, Payload.Slice(1)); } else { throw ReadException(); } }
/// <summary>Reads the empty parameter list, calling this methods ensure that the frame payload /// correspond to the empty parameter list.</summary> public void ReadEmptyParamList() => InputStream.ReadEmptyEncapsulation(_communicator, Payload);