codePointToUtf32 function

List codePointToUtf32(
  1. dynamic codePoint
)

Implementation

List codePointToUtf32(codePoint) {
  var b4 = (codePoint & 0xff000000) >> 24;
  var b3 = (codePoint & 0x00ff0000) >> 16;
  var b2 = (codePoint & 0x0000ff00) >> 8;
  var b1 = (codePoint & 0x000000ff);

  return [b4, b3, b2, b1];
}