• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rokucommunity / roku-debug / 26120672946

19 May 2026 07:37PM UTC coverage: 70.727% (+0.7%) from 70.049%
26120672946

Pull #351

github

web-flow
Merge eb0b2e542 into 5bbd82240
Pull Request #351: 0.23.8

3328 of 5046 branches covered (65.95%)

Branch coverage included in aggregate %.

5834 of 7908 relevant lines covered (73.77%)

35.01 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/src/adapters/customVariables/ifByteArray.ts
1
import { VariableType } from '../../debugProtocol/events/responses/VariablesResponse';
2
import type { DebugProtocolAdapter, EvaluateContainer } from '../DebugProtocolAdapter';
2✔
3
import { pushCustomVariableToContainer } from './utils';
2✔
4

2✔
5
// https://developer.roku.com/en-ca/docs/references/brightscript/interfaces/ifbytearray.md
2✔
6
export function pushIfByteArrayVariables(adapter: DebugProtocolAdapter, expression: string, container: EvaluateContainer) {
7
    pushCustomVariableToContainer(adapter, container, {
8
        name: '$hexString',
×
9
        type: VariableType.String,
10
        presentationHint: { kind: 'virtual', lazy: true },
11
        evaluateName: `${expression}.ToHexString()`,
12
        value: '',
13
        children: []
14
    });
15

16
    pushCustomVariableToContainer(adapter, container, {
×
17
        name: '$base64String',
18
        type: VariableType.String,
19
        presentationHint: { kind: 'virtual', lazy: true },
20
        evaluateName: `${expression}.ToBase64String()`,
21
        value: '',
22
        children: []
23
    });
24

×
25
    pushCustomVariableToContainer(adapter, container, {
26
        name: '$asciiString',
27
        type: VariableType.String,
28
        presentationHint: { kind: 'virtual', lazy: true },
29
        evaluateName: `${expression}.ToAsciiString()`,
30
        value: '',
31
        children: []
32
    });
×
33

34
    pushCustomVariableToContainer(adapter, container, {
35
        name: '$crc32',
36
        type: VariableType.Integer,
37
        presentationHint: { kind: 'virtual', lazy: true },
38
        evaluateName: `${expression}.GetCRC32()`,
39
        value: '',
40
        children: []
×
41
    });
42

43
    pushCustomVariableToContainer(adapter, container, {
44
        name: '$littleEndianCPU',
45
        type: VariableType.Boolean,
46
        presentationHint: { kind: 'virtual', lazy: true },
47
        evaluateName: `${expression}.IsLittleEndianCPU()`,
48
        value: '',
49
        children: []
2✔
50
    });
51
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc