Edit

Share via


byte attribute

The byte keyword specifies an 8-bit data item.

byte identifier-name;

Parameters

identifier-name

Specifies a valid MIDL identifier. Valid MIDL identifiers consist of up to 31 alphanumeric and/or underscore characters and must start with an alphabetic or underscore character.

Remarks

A byte data item does not undergo any conversion for transmission on the network as a char type might.

The byte type is one of the base types of the interface definition language (IDL). The byte type can appear as a type specifier in const declarations, typedef declarations, general declarations, and function declarators (as a function-return-type specifier and as a parameter-type specifier). For the context in which type specifiers appear, see Interface Definition (IDL) File.

See also

MIDL Base Types

char

const

Interface Definition (IDL) File

typedef