public static bool TryFormat(this ulong value, Span <byte> buffer, Format.Parsed format, EncodingData formattingData, out int bytesWritten) { return(IntegerFormatter.TryFormatUInt64(value, 8, buffer, format, formattingData, out bytesWritten)); }
public static bool TryFormat(this ulong value, Span <byte> buffer, out int bytesWritten, TextFormat format = default(TextFormat), TextEncoder encoder = null) { encoder = encoder == null ? TextEncoder.Utf8 : encoder; return(IntegerFormatter.TryFormatUInt64(value, 8, buffer, out bytesWritten, format, encoder)); }
public static bool TryFormat(this ulong value, Span <byte> buffer, out int bytesWritten, TextFormat format = default(TextFormat), EncodingData encoding = default(EncodingData)) { return(IntegerFormatter.TryFormatUInt64(value, 8, buffer, out bytesWritten, format, encoding)); }
public static bool TryFormat(this uint value, Span <byte> buffer, out int bytesWritten, TextFormat format, EncodingData encoding) { return(IntegerFormatter.TryFormatUInt64(value, 4, buffer, format, encoding, out bytesWritten)); }