Function getLockerBoxPrefix

  • Determines the prefix for a locker box based on the provided lockerType.

    Parameters

    • lockerType: LockerType

      The type of locker box. Can be either LockerType.CREATOR or LockerType.USER.

    Returns Buffer

    A buffer representing the prefix for a locker box based on the provided lockerType.

    If the lockerType is unknown.

    const prefix = getLockerBoxPrefix(LockerType.CREATOR);
    console.log(prefix); // Output: <Buffer 63 6c 2d>