asByteArray method

List<int> asByteArray()

Implementation

List<int> asByteArray() {
  if (this is ByteArrayTag) {
    return (this as ByteArrayTag).value;
  } else {
    return [];
  }
}