All Projects → ajkhoury → Dynamic Array Kernel

ajkhoury / Dynamic Array Kernel

Licence: gpl-3.0
Dynamic array in C. Intended for Windows kernel development.

Programming Languages

c
50402 projects - #5 most used programming language

Dynamic-Array-Kernel

Dynamic array for windows kernel development. I recently had to develop something similar to STL vector, but compatible in kernel mode, since I had chunks of unknown sizes coming in that I had to parse. So, I created this. I couldn't find anything like this anywhere online, except for GLib's GArray and this.

Usage

BYTE_ARRAY arr;
InitByteArray( &arr );

AppendElementsByteArray( &arr, (PVOID)someBuffer, (ULONG)someBufferLength );

FreeByteArray( &arr );

License

Copyright (C) 2016 dude719, GNU GLib, and Najaf Ali

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].