public ulong LonglongRead() { WireFormatting.ReadLonglong(_buffer.Span, out ulong v1); return(v1); }
public ConnectionOpen(ReadOnlySpan <byte> span) { WireFormatting.ReadShortstr(span, out _virtualHost); }
public override int WriteArgumentsTo(Span <byte> span) { int offset = WireFormatting.WriteLonglong(ref span.GetStart(), _deliveryTag); return(offset + WireFormatting.WriteBits(ref span.GetOffset(offset), _requeue)); }
public override int WriteArgumentsTo(Span <byte> span) { return(WireFormatting.WriteShortstr(ref span.GetStart(), _consumerTag)); }
public BasicCancel(ReadOnlySpan <byte> span) { int offset = WireFormatting.ReadShortstr(span, out _consumerTag); WireFormatting.ReadBits(span.Slice(offset), out _nowait); }
public int TimestampWrite() => WireFormatting.WriteTimestamp(_buffer.Span, _timestamp);
public override int WriteArgumentsTo(Span <byte> span) { return(WireFormatting.WriteLongstr(span, _challenge)); }
public override void Setup() => WireFormatting.WriteDecimal(_buffer.Span, 123.45m);
public decimal DecimalRead() => WireFormatting.ReadDecimal(_buffer.Span);
public override void Setup() => WireFormatting.WriteBits(_buffer.Span, true, false, true, false, true);
public int BoolRead2() => WireFormatting.ReadBits(_buffer.Span, out bool _, out bool _);
public ushort ShortRead() { WireFormatting.ReadShort(_buffer.Span, out ushort v1); return(v1); }
public override void Setup() => WireFormatting.WriteShort(ref _buffer.Span.GetStart(), 12345);
public int LonglongWrite(ulong value) => WireFormatting.WriteLonglong(ref _buffer.Span.GetStart(), value);
public override void Setup() => WireFormatting.WriteTimestamp(_buffer.Span, _timestamp);
public int DecimalWrite() => WireFormatting.WriteDecimal(_buffer.Span, 123.45m);
public int TimestampRead() => WireFormatting.ReadTimestamp(_buffer.Span, out _);
public override void Setup() => WireFormatting.WriteLonglong(_buffer.Span, 12345ul);
public ConnectionSecure(ReadOnlySpan <byte> span) { WireFormatting.ReadLongstr(span, out _challenge); }
public int LonglongRead() => WireFormatting.ReadLonglong(_buffer.Span, out _);
public BasicConsumeOk(ReadOnlySpan <byte> span) { WireFormatting.ReadShortstr(span, out _consumerTag); }
public int LonglongWrite(ulong value) => WireFormatting.WriteLonglong(_buffer.Span, value);
public int WriteTo(Span <byte> span) { int offset = WireFormatting.WriteShortstr(ref span.GetStart(), _consumerTag); return(offset + WireFormatting.WriteBits(ref span.GetOffset(offset), _nowait)); }
public override void Setup() => WireFormatting.WriteShort(_buffer.Span, 12345);
public override int WriteArgumentsTo(Span <byte> span) { int offset = WireFormatting.WriteShortstr(span, _consumerTag); return(offset + WireFormatting.WriteBits(span.Slice(offset), _nowait)); }
public int ShortRead() => WireFormatting.ReadShort(_buffer.Span, out _);
public BasicReject(ReadOnlySpan <byte> span) { int offset = WireFormatting.ReadLonglong(span, out _deliveryTag); WireFormatting.ReadBits(span.Slice(offset), out _requeue); }
public int ShortWrite(ushort value) => WireFormatting.WriteShort(_buffer.Span, value);
public int WriteArgumentsTo(Span <byte> span) { return(WireFormatting.WriteBits(ref span.GetStart(), _nowait)); }
public override void Setup() => WireFormatting.WriteLonglong(ref _buffer.Span.GetStart(), 12345ul);