Radix enum

  • @Author: chuxiong
  • @Created at: 12-10-2026
  • description 字节工具模块:可读字符串 ↔ Uint8List、base64 互转、 字节数组窗口操作(截取 / 拼接 / 插入 / 删除)与 16 / 32 位整数的 字节拆装。面向协议 / 报文解析场景。 依赖:仅 dart:typed_data 与 dart:convert,零平台 / 第三方依赖。 可读字符串的进制(ByteUtils.fromReadable / ByteUtils.toReadable)。
Inheritance
Available extensions

Values

hex → const Radix

十六进制,每字节两位(ff),token 允许 0x 前缀。

dec → const Radix

十进制(255)。

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<Radix>
A constant List of the values in this enum, in order of their declaration.